{"action":"created","comment":{"url":"https://api.github.com/repos/muvr/muvr-ios/pulls/comments/50002379","id":50002379,"diff_hunk":"@@ -33,7 +35,13 @@ class MRGlanceController: WKInterfaceController, MRSessionProgressRing {\n     override func didDeactivate() {\n         renderer?.deactivate()\n         renderer = nil\n+        NSNotificationCenter.defaultCenter().removeObserver(self)\n         super.didDeactivate()\n     }\n+    \n+    /// callback function invoked when session is started/ended on the phone\n+    internal func sessionDidChange(notif: NSNotification) {","path":"Watch Extension/MRGlanceController.swift","position":18,"original_position":18,"commit_id":"5db0630ffed6dad193c97997221ce67413e1564f","original_commit_id":"5db0630ffed6dad193c97997221ce67413e1564f","user":{"login":"janm399","id":85886,"avatar_url":"https://avatars.githubusercontent.com/u/85886?v=3","gravatar_id":"","url":"https://api.github.com/users/janm399","html_url":"https://github.com/janm399","followers_url":"https://api.github.com/users/janm399/followers","following_url":"https://api.github.com/users/janm399/following{/other_user}","gists_url":"https://api.github.com/users/janm399/gists{/gist_id}","starred_url":"https://api.github.com/users/janm399/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janm399/subscriptions","organizations_url":"https://api.github.com/users/janm399/orgs","repos_url":"https://api.github.com/users/janm399/repos","events_url":"https://api.github.com/users/janm399/events{/privacy}","received_events_url":"https://api.github.com/users/janm399/received_events","type":"User","site_admin":false},"body":"Let's spell out notification","created_at":"2016-01-18T14:15:03Z","updated_at":"2016-01-18T14:15:03Z","html_url":"https://github.com/muvr/muvr-ios/pull/160#discussion_r50002379","pull_request_url":"https://api.github.com/repos/muvr/muvr-ios/pulls/160","_links":{"self":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/comments/50002379"},"html":{"href":"https://github.com/muvr/muvr-ios/pull/160#discussion_r50002379"},"pull_request":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/muvr/muvr-ios/pulls/160","id":56334305,"html_url":"https://github.com/muvr/muvr-ios/pull/160","diff_url":"https://github.com/muvr/muvr-ios/pull/160.diff","patch_url":"https://github.com/muvr/muvr-ios/pull/160.patch","issue_url":"https://api.github.com/repos/muvr/muvr-ios/issues/160","number":160,"state":"open","locked":false,"title":"Sync current session between phone and watch","user":{"login":"by-dam","id":1948559,"avatar_url":"https://avatars.githubusercontent.com/u/1948559?v=3","gravatar_id":"","url":"https://api.github.com/users/by-dam","html_url":"https://github.com/by-dam","followers_url":"https://api.github.com/users/by-dam/followers","following_url":"https://api.github.com/users/by-dam/following{/other_user}","gists_url":"https://api.github.com/users/by-dam/gists{/gist_id}","starred_url":"https://api.github.com/users/by-dam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/by-dam/subscriptions","organizations_url":"https://api.github.com/users/by-dam/orgs","repos_url":"https://api.github.com/users/by-dam/repos","events_url":"https://api.github.com/users/by-dam/events{/privacy}","received_events_url":"https://api.github.com/users/by-dam/received_events","type":"User","site_admin":false},"body":"- [x] Send start/stop events to the watch","created_at":"2016-01-18T12:02:51Z","updated_at":"2016-01-18T14:15:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5e9218f0712fa408d2afc7f7e4420288b97cfb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/muvr/muvr-ios/pulls/160/commits","review_comments_url":"https://api.github.com/repos/muvr/muvr-ios/pulls/160/comments","review_comment_url":"https://api.github.com/repos/muvr/muvr-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/muvr/muvr-ios/issues/160/comments","statuses_url":"https://api.github.com/repos/muvr/muvr-ios/statuses/5db0630ffed6dad193c97997221ce67413e1564f","head":{"label":"muvr:feature/sync_watch","ref":"feature/sync_watch","sha":"5db0630ffed6dad193c97997221ce67413e1564f","user":{"login":"muvr","id":11348890,"avatar_url":"https://avatars.githubusercontent.com/u/11348890?v=3","gravatar_id":"","url":"https://api.github.com/users/muvr","html_url":"https://github.com/muvr","followers_url":"https://api.github.com/users/muvr/followers","following_url":"https://api.github.com/users/muvr/following{/other_user}","gists_url":"https://api.github.com/users/muvr/gists{/gist_id}","starred_url":"https://api.github.com/users/muvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muvr/subscriptions","organizations_url":"https://api.github.com/users/muvr/orgs","repos_url":"https://api.github.com/users/muvr/repos","events_url":"https://api.github.com/users/muvr/events{/privacy}","received_events_url":"https://api.github.com/users/muvr/received_events","type":"Organization","site_admin":false},"repo":{"id":32984194,"name":"muvr-ios","full_name":"muvr/muvr-ios","owner":{"login":"muvr","id":11348890,"avatar_url":"https://avatars.githubusercontent.com/u/11348890?v=3","gravatar_id":"","url":"https://api.github.com/users/muvr","html_url":"https://github.com/muvr","followers_url":"https://api.github.com/users/muvr/followers","following_url":"https://api.github.com/users/muvr/following{/other_user}","gists_url":"https://api.github.com/users/muvr/gists{/gist_id}","starred_url":"https://api.github.com/users/muvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muvr/subscriptions","organizations_url":"https://api.github.com/users/muvr/orgs","repos_url":"https://api.github.com/users/muvr/repos","events_url":"https://api.github.com/users/muvr/events{/privacy}","received_events_url":"https://api.github.com/users/muvr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/muvr/muvr-ios","description":"iOS application","fork":false,"url":"https://api.github.com/repos/muvr/muvr-ios","forks_url":"https://api.github.com/repos/muvr/muvr-ios/forks","keys_url":"https://api.github.com/repos/muvr/muvr-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muvr/muvr-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muvr/muvr-ios/teams","hooks_url":"https://api.github.com/repos/muvr/muvr-ios/hooks","issue_events_url":"https://api.github.com/repos/muvr/muvr-ios/issues/events{/number}","events_url":"https://api.github.com/repos/muvr/muvr-ios/events","assignees_url":"https://api.github.com/repos/muvr/muvr-ios/assignees{/user}","branches_url":"https://api.github.com/repos/muvr/muvr-ios/branches{/branch}","tags_url":"https://api.github.com/repos/muvr/muvr-ios/tags","blobs_url":"https://api.github.com/repos/muvr/muvr-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muvr/muvr-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muvr/muvr-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/muvr/muvr-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muvr/muvr-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/muvr/muvr-ios/languages","stargazers_url":"https://api.github.com/repos/muvr/muvr-ios/stargazers","contributors_url":"https://api.github.com/repos/muvr/muvr-ios/contributors","subscribers_url":"https://api.github.com/repos/muvr/muvr-ios/subscribers","subscription_url":"https://api.github.com/repos/muvr/muvr-ios/subscription","commits_url":"https://api.github.com/repos/muvr/muvr-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/muvr/muvr-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/muvr/muvr-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/muvr/muvr-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/muvr/muvr-ios/contents/{+path}","compare_url":"https://api.github.com/repos/muvr/muvr-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muvr/muvr-ios/merges","archive_url":"https://api.github.com/repos/muvr/muvr-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muvr/muvr-ios/downloads","issues_url":"https://api.github.com/repos/muvr/muvr-ios/issues{/number}","pulls_url":"https://api.github.com/repos/muvr/muvr-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/muvr/muvr-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/muvr/muvr-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muvr/muvr-ios/labels{/name}","releases_url":"https://api.github.com/repos/muvr/muvr-ios/releases{/id}","created_at":"2015-03-27T12:12:22Z","updated_at":"2016-01-11T15:00:42Z","pushed_at":"2016-01-18T12:03:19Z","git_url":"git://github.com/muvr/muvr-ios.git","ssh_url":"git@github.com:muvr/muvr-ios.git","clone_url":"https://github.com/muvr/muvr-ios.git","svn_url":"https://github.com/muvr/muvr-ios","homepage":"","size":47198,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"base":{"label":"muvr:develop","ref":"develop","sha":"13c3a28f75302d015ade988dbebf565c0660194b","user":{"login":"muvr","id":11348890,"avatar_url":"https://avatars.githubusercontent.com/u/11348890?v=3","gravatar_id":"","url":"https://api.github.com/users/muvr","html_url":"https://github.com/muvr","followers_url":"https://api.github.com/users/muvr/followers","following_url":"https://api.github.com/users/muvr/following{/other_user}","gists_url":"https://api.github.com/users/muvr/gists{/gist_id}","starred_url":"https://api.github.com/users/muvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muvr/subscriptions","organizations_url":"https://api.github.com/users/muvr/orgs","repos_url":"https://api.github.com/users/muvr/repos","events_url":"https://api.github.com/users/muvr/events{/privacy}","received_events_url":"https://api.github.com/users/muvr/received_events","type":"Organization","site_admin":false},"repo":{"id":32984194,"name":"muvr-ios","full_name":"muvr/muvr-ios","owner":{"login":"muvr","id":11348890,"avatar_url":"https://avatars.githubusercontent.com/u/11348890?v=3","gravatar_id":"","url":"https://api.github.com/users/muvr","html_url":"https://github.com/muvr","followers_url":"https://api.github.com/users/muvr/followers","following_url":"https://api.github.com/users/muvr/following{/other_user}","gists_url":"https://api.github.com/users/muvr/gists{/gist_id}","starred_url":"https://api.github.com/users/muvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muvr/subscriptions","organizations_url":"https://api.github.com/users/muvr/orgs","repos_url":"https://api.github.com/users/muvr/repos","events_url":"https://api.github.com/users/muvr/events{/privacy}","received_events_url":"https://api.github.com/users/muvr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/muvr/muvr-ios","description":"iOS application","fork":false,"url":"https://api.github.com/repos/muvr/muvr-ios","forks_url":"https://api.github.com/repos/muvr/muvr-ios/forks","keys_url":"https://api.github.com/repos/muvr/muvr-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muvr/muvr-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muvr/muvr-ios/teams","hooks_url":"https://api.github.com/repos/muvr/muvr-ios/hooks","issue_events_url":"https://api.github.com/repos/muvr/muvr-ios/issues/events{/number}","events_url":"https://api.github.com/repos/muvr/muvr-ios/events","assignees_url":"https://api.github.com/repos/muvr/muvr-ios/assignees{/user}","branches_url":"https://api.github.com/repos/muvr/muvr-ios/branches{/branch}","tags_url":"https://api.github.com/repos/muvr/muvr-ios/tags","blobs_url":"https://api.github.com/repos/muvr/muvr-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muvr/muvr-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muvr/muvr-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/muvr/muvr-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muvr/muvr-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/muvr/muvr-ios/languages","stargazers_url":"https://api.github.com/repos/muvr/muvr-ios/stargazers","contributors_url":"https://api.github.com/repos/muvr/muvr-ios/contributors","subscribers_url":"https://api.github.com/repos/muvr/muvr-ios/subscribers","subscription_url":"https://api.github.com/repos/muvr/muvr-ios/subscription","commits_url":"https://api.github.com/repos/muvr/muvr-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/muvr/muvr-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/muvr/muvr-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/muvr/muvr-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/muvr/muvr-ios/contents/{+path}","compare_url":"https://api.github.com/repos/muvr/muvr-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muvr/muvr-ios/merges","archive_url":"https://api.github.com/repos/muvr/muvr-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muvr/muvr-ios/downloads","issues_url":"https://api.github.com/repos/muvr/muvr-ios/issues{/number}","pulls_url":"https://api.github.com/repos/muvr/muvr-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/muvr/muvr-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/muvr/muvr-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muvr/muvr-ios/labels{/name}","releases_url":"https://api.github.com/repos/muvr/muvr-ios/releases{/id}","created_at":"2015-03-27T12:12:22Z","updated_at":"2016-01-11T15:00:42Z","pushed_at":"2016-01-18T12:03:19Z","git_url":"git://github.com/muvr/muvr-ios.git","ssh_url":"git@github.com:muvr/muvr-ios.git","clone_url":"https://github.com/muvr/muvr-ios.git","svn_url":"https://github.com/muvr/muvr-ios","homepage":"","size":47198,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/160"},"html":{"href":"https://github.com/muvr/muvr-ios/pull/160"},"issue":{"href":"https://api.github.com/repos/muvr/muvr-ios/issues/160"},"comments":{"href":"https://api.github.com/repos/muvr/muvr-ios/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/muvr/muvr-ios/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/muvr/muvr-ios/statuses/5db0630ffed6dad193c97997221ce67413e1564f"}}}}