{"action":"created","comment":{"url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/comments/23901592","id":23901592,"diff_hunk":"@@ -21,6 +21,7 @@\n #import \"SAppDelegate.h\"\n \n #define kAnimationOpacityKey    @\"animateOpacity\"\n+#define HOUR 3600","path":"Subsurface/Subsurface/SAppDelegate.m","position":4,"original_position":4,"commit_id":"295312fcc11827e637ac64f6f7d45db78eaa7d7c","original_commit_id":"295312fcc11827e637ac64f6f7d45db78eaa7d7c","user":{"login":"zdanovs","id":4309685,"avatar_url":"https://avatars.githubusercontent.com/u/4309685?v=3","gravatar_id":"","url":"https://api.github.com/users/zdanovs","html_url":"https://github.com/zdanovs","followers_url":"https://api.github.com/users/zdanovs/followers","following_url":"https://api.github.com/users/zdanovs/following{/other_user}","gists_url":"https://api.github.com/users/zdanovs/gists{/gist_id}","starred_url":"https://api.github.com/users/zdanovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdanovs/subscriptions","organizations_url":"https://api.github.com/users/zdanovs/orgs","repos_url":"https://api.github.com/users/zdanovs/repos","events_url":"https://api.github.com/users/zdanovs/events{/privacy}","received_events_url":"https://api.github.com/users/zdanovs/received_events","type":"User","site_admin":false},"body":"Let's stick to a way of naming defines as in other places among this codebase — starts with lowercase \"k\" and then a CamelCase","created_at":"2015-02-01T21:46:50Z","updated_at":"2015-02-01T21:46:50Z","html_url":"https://github.com/zdanovs/subsurface-companion-ios/pull/1#discussion_r23901592","pull_request_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/comments/23901592"},"html":{"href":"https://github.com/zdanovs/subsurface-companion-ios/pull/1#discussion_r23901592"},"pull_request":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1","id":28423468,"html_url":"https://github.com/zdanovs/subsurface-companion-ios/pull/1","diff_url":"https://github.com/zdanovs/subsurface-companion-ios/pull/1.diff","patch_url":"https://github.com/zdanovs/subsurface-companion-ios/pull/1.patch","issue_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/1","number":1,"state":"open","locked":false,"title":"Adding local notification to remind user app is running","user":{"login":"yousefhamza","id":3893067,"avatar_url":"https://avatars.githubusercontent.com/u/3893067?v=3","gravatar_id":"","url":"https://api.github.com/users/yousefhamza","html_url":"https://github.com/yousefhamza","followers_url":"https://api.github.com/users/yousefhamza/followers","following_url":"https://api.github.com/users/yousefhamza/following{/other_user}","gists_url":"https://api.github.com/users/yousefhamza/gists{/gist_id}","starred_url":"https://api.github.com/users/yousefhamza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousefhamza/subscriptions","organizations_url":"https://api.github.com/users/yousefhamza/orgs","repos_url":"https://api.github.com/users/yousefhamza/repos","events_url":"https://api.github.com/users/yousefhamza/events{/privacy}","received_events_url":"https://api.github.com/users/yousefhamza/received_events","type":"User","site_admin":false},"body":"In the commit:\r\n- Scheduling the notification\r\n- Canceling the notification\r\n- Dealing with persmissions\r\n\r\nInfo:\r\n- The notification is Scheduled 4 hours after starting\r\n\r\nSigned-off-by: Yousef Hamza <jo.adam.93@gmail.com>","created_at":"2015-02-01T00:01:39Z","updated_at":"2015-02-01T21:46:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca1c62298c07f3e4b01c5ae1990afa5916004f89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1/commits","review_comments_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1/comments","review_comment_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/1/comments","statuses_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/statuses/295312fcc11827e637ac64f6f7d45db78eaa7d7c","head":{"label":"yousefhamza:master","ref":"master","sha":"295312fcc11827e637ac64f6f7d45db78eaa7d7c","user":{"login":"yousefhamza","id":3893067,"avatar_url":"https://avatars.githubusercontent.com/u/3893067?v=3","gravatar_id":"","url":"https://api.github.com/users/yousefhamza","html_url":"https://github.com/yousefhamza","followers_url":"https://api.github.com/users/yousefhamza/followers","following_url":"https://api.github.com/users/yousefhamza/following{/other_user}","gists_url":"https://api.github.com/users/yousefhamza/gists{/gist_id}","starred_url":"https://api.github.com/users/yousefhamza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousefhamza/subscriptions","organizations_url":"https://api.github.com/users/yousefhamza/orgs","repos_url":"https://api.github.com/users/yousefhamza/repos","events_url":"https://api.github.com/users/yousefhamza/events{/privacy}","received_events_url":"https://api.github.com/users/yousefhamza/received_events","type":"User","site_admin":false},"repo":{"id":30130511,"name":"subsurface-companion-ios","full_name":"yousefhamza/subsurface-companion-ios","owner":{"login":"yousefhamza","id":3893067,"avatar_url":"https://avatars.githubusercontent.com/u/3893067?v=3","gravatar_id":"","url":"https://api.github.com/users/yousefhamza","html_url":"https://github.com/yousefhamza","followers_url":"https://api.github.com/users/yousefhamza/followers","following_url":"https://api.github.com/users/yousefhamza/following{/other_user}","gists_url":"https://api.github.com/users/yousefhamza/gists{/gist_id}","starred_url":"https://api.github.com/users/yousefhamza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousefhamza/subscriptions","organizations_url":"https://api.github.com/users/yousefhamza/orgs","repos_url":"https://api.github.com/users/yousefhamza/repos","events_url":"https://api.github.com/users/yousefhamza/events{/privacy}","received_events_url":"https://api.github.com/users/yousefhamza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yousefhamza/subsurface-companion-ios","description":"Subsurface companion iOS application allows the user to enter there unique ID, set some basic parameters and start the background service. It also allows to initiate an upload of stored timestamp / GPS location pairs to the server.","fork":true,"url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios","forks_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/forks","keys_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/teams","hooks_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/hooks","issue_events_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/issues/events{/number}","events_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/events","assignees_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/assignees{/user}","branches_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/branches{/branch}","tags_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/tags","blobs_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/languages","stargazers_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/stargazers","contributors_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/contributors","subscribers_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/subscribers","subscription_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/subscription","commits_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/issues/comments/{number}","contents_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/contents/{+path}","compare_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/merges","archive_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/downloads","issues_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/issues{/number}","pulls_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/labels{/name}","releases_url":"https://api.github.com/repos/yousefhamza/subsurface-companion-ios/releases{/id}","created_at":"2015-01-31T23:47:42Z","updated_at":"2015-01-31T23:54:18Z","pushed_at":"2015-01-31T23:54:17Z","git_url":"git://github.com/yousefhamza/subsurface-companion-ios.git","ssh_url":"git@github.com:yousefhamza/subsurface-companion-ios.git","clone_url":"https://github.com/yousefhamza/subsurface-companion-ios.git","svn_url":"https://github.com/yousefhamza/subsurface-companion-ios","homepage":"http://subsurface.hohndel.org","size":5895,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"zdanovs:master","ref":"master","sha":"71965ddbc4504b26d94e1e73d52be3cb76f1abb4","user":{"login":"zdanovs","id":4309685,"avatar_url":"https://avatars.githubusercontent.com/u/4309685?v=3","gravatar_id":"","url":"https://api.github.com/users/zdanovs","html_url":"https://github.com/zdanovs","followers_url":"https://api.github.com/users/zdanovs/followers","following_url":"https://api.github.com/users/zdanovs/following{/other_user}","gists_url":"https://api.github.com/users/zdanovs/gists{/gist_id}","starred_url":"https://api.github.com/users/zdanovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdanovs/subscriptions","organizations_url":"https://api.github.com/users/zdanovs/orgs","repos_url":"https://api.github.com/users/zdanovs/repos","events_url":"https://api.github.com/users/zdanovs/events{/privacy}","received_events_url":"https://api.github.com/users/zdanovs/received_events","type":"User","site_admin":false},"repo":{"id":19914987,"name":"subsurface-companion-ios","full_name":"zdanovs/subsurface-companion-ios","owner":{"login":"zdanovs","id":4309685,"avatar_url":"https://avatars.githubusercontent.com/u/4309685?v=3","gravatar_id":"","url":"https://api.github.com/users/zdanovs","html_url":"https://github.com/zdanovs","followers_url":"https://api.github.com/users/zdanovs/followers","following_url":"https://api.github.com/users/zdanovs/following{/other_user}","gists_url":"https://api.github.com/users/zdanovs/gists{/gist_id}","starred_url":"https://api.github.com/users/zdanovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdanovs/subscriptions","organizations_url":"https://api.github.com/users/zdanovs/orgs","repos_url":"https://api.github.com/users/zdanovs/repos","events_url":"https://api.github.com/users/zdanovs/events{/privacy}","received_events_url":"https://api.github.com/users/zdanovs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zdanovs/subsurface-companion-ios","description":"Subsurface companion iOS application allows the user to enter there unique ID, set some basic parameters and start the background service. It also allows to initiate an upload of stored timestamp / GPS location pairs to the server.","fork":false,"url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios","forks_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/forks","keys_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/teams","hooks_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/hooks","issue_events_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/events{/number}","events_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/events","assignees_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/assignees{/user}","branches_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/branches{/branch}","tags_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/tags","blobs_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/languages","stargazers_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/stargazers","contributors_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/contributors","subscribers_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/subscribers","subscription_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/subscription","commits_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/comments/{number}","contents_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/contents/{+path}","compare_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/merges","archive_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/downloads","issues_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues{/number}","pulls_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/labels{/name}","releases_url":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/releases{/id}","created_at":"2014-05-18T16:21:25Z","updated_at":"2014-06-28T12:00:42Z","pushed_at":"2014-08-17T13:14:39Z","git_url":"git://github.com/zdanovs/subsurface-companion-ios.git","ssh_url":"git@github.com:zdanovs/subsurface-companion-ios.git","clone_url":"https://github.com/zdanovs/subsurface-companion-ios.git","svn_url":"https://github.com/zdanovs/subsurface-companion-ios","homepage":"http://subsurface.hohndel.org","size":6424,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1"},"html":{"href":"https://github.com/zdanovs/subsurface-companion-ios/pull/1"},"issue":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/1"},"comments":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/zdanovs/subsurface-companion-ios/statuses/295312fcc11827e637ac64f6f7d45db78eaa7d7c"}}}}