{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/comments/87616450","pull_request_review_id":8224825,"id":87616450,"diff_hunk":"@@ -11,19 +11,21 @@ import CoreData\n \n class AddMessageViewController: UIViewController {\n \n+    let store = DataStore.sharedInstance\n+    var recipient: Recipient!\n+    \n     @IBOutlet weak var addMessageTextField: UITextField!\n     \n     override func viewDidLoad() {\n         super.viewDidLoad()\n-        // Do any additional setup after loading the view, typically from a nib.\n     }\n \n     @IBAction func saveMessageButtonTapped(_ sender: AnyObject) {\n-        let store = DataStore.sharedInstance\n         let context = store.persistentContainer.viewContext\n-        let newMessage = NSEntityDescription.insertNewObject(forEntityName: \"Message\", into: context) as! Message\n+        let newMessage = Message(context: context)","path":"SlapChat/AddMessageViewController.swift","position":18,"original_position":18,"commit_id":"2f6523971fa657f9225c101f6094ad49982f808b","original_commit_id":"2f6523971fa657f9225c101f6094ad49982f808b","user":{"login":"johannkerr","id":1313816,"avatar_url":"https://avatars.githubusercontent.com/u/1313816?v=3","gravatar_id":"","url":"https://api.github.com/users/johannkerr","html_url":"https://github.com/johannkerr","followers_url":"https://api.github.com/users/johannkerr/followers","following_url":"https://api.github.com/users/johannkerr/following{/other_user}","gists_url":"https://api.github.com/users/johannkerr/gists{/gist_id}","starred_url":"https://api.github.com/users/johannkerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannkerr/subscriptions","organizations_url":"https://api.github.com/users/johannkerr/orgs","repos_url":"https://api.github.com/users/johannkerr/repos","events_url":"https://api.github.com/users/johannkerr/events{/privacy}","received_events_url":"https://api.github.com/users/johannkerr/received_events","type":"User","site_admin":false},"body":"Good use of the convenience initializer","created_at":"2016-11-11T16:30:38Z","updated_at":"2016-11-11T16:30:38Z","html_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2#discussion_r87616450","pull_request_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/comments/87616450"},"html":{"href":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2#discussion_r87616450"},"pull_request":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2","id":93222732,"html_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2","diff_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2.diff","patch_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2.patch","issue_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/2","number":2,"state":"open","locked":false,"title":"complete","user":{"login":"fzhao92","id":12725869,"avatar_url":"https://avatars.githubusercontent.com/u/12725869?v=3","gravatar_id":"","url":"https://api.github.com/users/fzhao92","html_url":"https://github.com/fzhao92","followers_url":"https://api.github.com/users/fzhao92/followers","following_url":"https://api.github.com/users/fzhao92/following{/other_user}","gists_url":"https://api.github.com/users/fzhao92/gists{/gist_id}","starred_url":"https://api.github.com/users/fzhao92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzhao92/subscriptions","organizations_url":"https://api.github.com/users/fzhao92/orgs","repos_url":"https://api.github.com/users/fzhao92/repos","events_url":"https://api.github.com/users/fzhao92/events{/privacy}","received_events_url":"https://api.github.com/users/fzhao92/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-10T20:16:05Z","updated_at":"2016-11-11T16:30:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2/commits","review_comments_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2/comments","review_comment_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/2/comments","statuses_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/statuses/2f6523971fa657f9225c101f6094ad49982f808b","head":{"label":"fzhao92:master","ref":"master","sha":"2f6523971fa657f9225c101f6094ad49982f808b","user":{"login":"fzhao92","id":12725869,"avatar_url":"https://avatars.githubusercontent.com/u/12725869?v=3","gravatar_id":"","url":"https://api.github.com/users/fzhao92","html_url":"https://github.com/fzhao92","followers_url":"https://api.github.com/users/fzhao92/followers","following_url":"https://api.github.com/users/fzhao92/following{/other_user}","gists_url":"https://api.github.com/users/fzhao92/gists{/gist_id}","starred_url":"https://api.github.com/users/fzhao92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzhao92/subscriptions","organizations_url":"https://api.github.com/users/fzhao92/orgs","repos_url":"https://api.github.com/users/fzhao92/repos","events_url":"https://api.github.com/users/fzhao92/events{/privacy}","received_events_url":"https://api.github.com/users/fzhao92/received_events","type":"User","site_admin":false},"repo":{"id":73308333,"name":"swift-slapchat-relationships-lab-ios-0916","full_name":"fzhao92/swift-slapchat-relationships-lab-ios-0916","owner":{"login":"fzhao92","id":12725869,"avatar_url":"https://avatars.githubusercontent.com/u/12725869?v=3","gravatar_id":"","url":"https://api.github.com/users/fzhao92","html_url":"https://github.com/fzhao92","followers_url":"https://api.github.com/users/fzhao92/followers","following_url":"https://api.github.com/users/fzhao92/following{/other_user}","gists_url":"https://api.github.com/users/fzhao92/gists{/gist_id}","starred_url":"https://api.github.com/users/fzhao92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzhao92/subscriptions","organizations_url":"https://api.github.com/users/fzhao92/orgs","repos_url":"https://api.github.com/users/fzhao92/repos","events_url":"https://api.github.com/users/fzhao92/events{/privacy}","received_events_url":"https://api.github.com/users/fzhao92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fzhao92/swift-slapchat-relationships-lab-ios-0916","description":null,"fork":true,"url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916","forks_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/forks","keys_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/teams","hooks_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/hooks","issue_events_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/issues/events{/number}","events_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/events","assignees_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/assignees{/user}","branches_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/branches{/branch}","tags_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/tags","blobs_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/git/refs{/sha}","trees_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/statuses/{sha}","languages_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/languages","stargazers_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/stargazers","contributors_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/contributors","subscribers_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/subscribers","subscription_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/subscription","commits_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/commits{/sha}","git_commits_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/git/commits{/sha}","comments_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/comments{/number}","issue_comment_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/issues/comments{/number}","contents_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/contents/{+path}","compare_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/merges","archive_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/downloads","issues_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/issues{/number}","pulls_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/pulls{/number}","milestones_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/milestones{/number}","notifications_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/labels{/name}","releases_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/releases{/id}","deployments_url":"https://api.github.com/repos/fzhao92/swift-slapchat-relationships-lab-ios-0916/deployments","created_at":"2016-11-09T18:04:21Z","updated_at":"2016-11-09T18:04:23Z","pushed_at":"2016-11-10T20:13:00Z","git_url":"git://github.com/fzhao92/swift-slapchat-relationships-lab-ios-0916.git","ssh_url":"git@github.com:fzhao92/swift-slapchat-relationships-lab-ios-0916.git","clone_url":"https://github.com/fzhao92/swift-slapchat-relationships-lab-ios-0916.git","svn_url":"https://github.com/fzhao92/swift-slapchat-relationships-lab-ios-0916","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-students:master","ref":"master","sha":"ae3ecada49b10a4fa049ad095a3ee945eb6adc4a","user":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"repo":{"id":73130644,"name":"swift-slapchat-relationships-lab-ios-0916","full_name":"learn-co-students/swift-slapchat-relationships-lab-ios-0916","owner":{"login":"learn-co-students","id":8825476,"avatar_url":"https://avatars.githubusercontent.com/u/8825476?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-students","html_url":"https://github.com/learn-co-students","followers_url":"https://api.github.com/users/learn-co-students/followers","following_url":"https://api.github.com/users/learn-co-students/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-students/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-students/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-students/subscriptions","organizations_url":"https://api.github.com/users/learn-co-students/orgs","repos_url":"https://api.github.com/users/learn-co-students/repos","events_url":"https://api.github.com/users/learn-co-students/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-students/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916","forks_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/forks","keys_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/teams","hooks_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/hooks","issue_events_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/events","assignees_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/tags","blobs_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/languages","stargazers_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/stargazers","contributors_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/contributors","subscribers_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/subscribers","subscription_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/subscription","commits_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/merges","archive_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/downloads","issues_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/deployments","created_at":"2016-11-07T23:34:58Z","updated_at":"2016-11-07T23:35:05Z","pushed_at":"2016-11-11T16:00:31Z","git_url":"git://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916.git","ssh_url":"git@github.com:learn-co-students/swift-slapchat-relationships-lab-ios-0916.git","clone_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916.git","svn_url":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":12,"forks":29,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2"},"html":{"href":"https://github.com/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pull/2"},"issue":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/2"},"comments":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-students/swift-slapchat-relationships-lab-ios-0916/statuses/2f6523971fa657f9225c101f6094ad49982f808b"}}}}
{"actor":{"display_login":"johannkerr"}}