{"action":"created","comment":{"url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/comments/60465155","id":60465155,"diff_hunk":"@@ -0,0 +1,21 @@\n+//\n+//  LocationTool.h\n+//  superweather\n+//\n+//  Created by mikael petersson on 2016-04-17.\n+//  Copyright © 2016 mikael petersson. All rights reserved.\n+//\n+\n+#import <Foundation/Foundation.h>\n+#import <CoreLocation/CoreLocation.h>\n+\n+@interface LocationTool : NSObject<CLLocationManagerDelegate>\n+\n+@property (strong, nonatomic) CLLocationManager *locationManager;\n+\n+\n+-(LocationTool*)init;","path":"superweather/superweather/LocationTool.h","position":17,"original_position":17,"commit_id":"48fc4344eb507aab866dc14422a51de01c1af014","original_commit_id":"48fc4344eb507aab866dc14422a51de01c1af014","user":{"login":"ArturDohi","id":11556291,"avatar_url":"https://avatars.githubusercontent.com/u/11556291?v=3","gravatar_id":"","url":"https://api.github.com/users/ArturDohi","html_url":"https://github.com/ArturDohi","followers_url":"https://api.github.com/users/ArturDohi/followers","following_url":"https://api.github.com/users/ArturDohi/following{/other_user}","gists_url":"https://api.github.com/users/ArturDohi/gists{/gist_id}","starred_url":"https://api.github.com/users/ArturDohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArturDohi/subscriptions","organizations_url":"https://api.github.com/users/ArturDohi/orgs","repos_url":"https://api.github.com/users/ArturDohi/repos","events_url":"https://api.github.com/users/ArturDohi/events{/privacy}","received_events_url":"https://api.github.com/users/ArturDohi/received_events","type":"User","site_admin":false},"body":"You don't need to that is the method signature that it inherits from NSObject, see: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/#//apple_ref/occ/instm/NSObject/init","created_at":"2016-04-20T18:44:20Z","updated_at":"2016-04-20T18:44:20Z","html_url":"https://github.com/mikaelpetersson/superweather/pull/1#discussion_r60465155","pull_request_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/comments/60465155"},"html":{"href":"https://github.com/mikaelpetersson/superweather/pull/1#discussion_r60465155"},"pull_request":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1","id":66774982,"html_url":"https://github.com/mikaelpetersson/superweather/pull/1","diff_url":"https://github.com/mikaelpetersson/superweather/pull/1.diff","patch_url":"https://github.com/mikaelpetersson/superweather/pull/1.patch","issue_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/1","number":1,"state":"open","locked":false,"title":"Initial commit. Location data and a test GUI.","user":{"login":"mikaelpetersson","id":5724180,"avatar_url":"https://avatars.githubusercontent.com/u/5724180?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpetersson","html_url":"https://github.com/mikaelpetersson","followers_url":"https://api.github.com/users/mikaelpetersson/followers","following_url":"https://api.github.com/users/mikaelpetersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpetersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelpetersson/orgs","repos_url":"https://api.github.com/users/mikaelpetersson/repos","events_url":"https://api.github.com/users/mikaelpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpetersson/received_events","type":"User","site_admin":false},"body":"Created a project with a class for location handling. Added a test GUI that uses a storyboard. We can change that later. Also added a unit test and a GUI test, just for fun.","created_at":"2016-04-17T17:39:12Z","updated_at":"2016-04-20T18:44:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0383ec6dab3a33d59226727e08d99b98c00f54ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/1/comments","statuses_url":"https://api.github.com/repos/mikaelpetersson/superweather/statuses/48fc4344eb507aab866dc14422a51de01c1af014","head":{"label":"mikaelpetersson:create-project","ref":"create-project","sha":"48fc4344eb507aab866dc14422a51de01c1af014","user":{"login":"mikaelpetersson","id":5724180,"avatar_url":"https://avatars.githubusercontent.com/u/5724180?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpetersson","html_url":"https://github.com/mikaelpetersson","followers_url":"https://api.github.com/users/mikaelpetersson/followers","following_url":"https://api.github.com/users/mikaelpetersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpetersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelpetersson/orgs","repos_url":"https://api.github.com/users/mikaelpetersson/repos","events_url":"https://api.github.com/users/mikaelpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpetersson/received_events","type":"User","site_admin":false},"repo":{"id":56438209,"name":"superweather","full_name":"mikaelpetersson/superweather","owner":{"login":"mikaelpetersson","id":5724180,"avatar_url":"https://avatars.githubusercontent.com/u/5724180?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpetersson","html_url":"https://github.com/mikaelpetersson","followers_url":"https://api.github.com/users/mikaelpetersson/followers","following_url":"https://api.github.com/users/mikaelpetersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpetersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelpetersson/orgs","repos_url":"https://api.github.com/users/mikaelpetersson/repos","events_url":"https://api.github.com/users/mikaelpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpetersson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikaelpetersson/superweather","description":"An iOS weather app","fork":false,"url":"https://api.github.com/repos/mikaelpetersson/superweather","forks_url":"https://api.github.com/repos/mikaelpetersson/superweather/forks","keys_url":"https://api.github.com/repos/mikaelpetersson/superweather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikaelpetersson/superweather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikaelpetersson/superweather/teams","hooks_url":"https://api.github.com/repos/mikaelpetersson/superweather/hooks","issue_events_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/events{/number}","events_url":"https://api.github.com/repos/mikaelpetersson/superweather/events","assignees_url":"https://api.github.com/repos/mikaelpetersson/superweather/assignees{/user}","branches_url":"https://api.github.com/repos/mikaelpetersson/superweather/branches{/branch}","tags_url":"https://api.github.com/repos/mikaelpetersson/superweather/tags","blobs_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikaelpetersson/superweather/statuses/{sha}","languages_url":"https://api.github.com/repos/mikaelpetersson/superweather/languages","stargazers_url":"https://api.github.com/repos/mikaelpetersson/superweather/stargazers","contributors_url":"https://api.github.com/repos/mikaelpetersson/superweather/contributors","subscribers_url":"https://api.github.com/repos/mikaelpetersson/superweather/subscribers","subscription_url":"https://api.github.com/repos/mikaelpetersson/superweather/subscription","commits_url":"https://api.github.com/repos/mikaelpetersson/superweather/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikaelpetersson/superweather/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikaelpetersson/superweather/contents/{+path}","compare_url":"https://api.github.com/repos/mikaelpetersson/superweather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikaelpetersson/superweather/merges","archive_url":"https://api.github.com/repos/mikaelpetersson/superweather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikaelpetersson/superweather/downloads","issues_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues{/number}","pulls_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls{/number}","milestones_url":"https://api.github.com/repos/mikaelpetersson/superweather/milestones{/number}","notifications_url":"https://api.github.com/repos/mikaelpetersson/superweather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikaelpetersson/superweather/labels{/name}","releases_url":"https://api.github.com/repos/mikaelpetersson/superweather/releases{/id}","deployments_url":"https://api.github.com/repos/mikaelpetersson/superweather/deployments","created_at":"2016-04-17T13:35:53Z","updated_at":"2016-04-17T13:35:53Z","pushed_at":"2016-04-17T17:39:12Z","git_url":"git://github.com/mikaelpetersson/superweather.git","ssh_url":"git@github.com:mikaelpetersson/superweather.git","clone_url":"https://github.com/mikaelpetersson/superweather.git","svn_url":"https://github.com/mikaelpetersson/superweather","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mikaelpetersson:master","ref":"master","sha":"e0349cc952853fc8caf9adeb5c1dbae5e1eab2b8","user":{"login":"mikaelpetersson","id":5724180,"avatar_url":"https://avatars.githubusercontent.com/u/5724180?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpetersson","html_url":"https://github.com/mikaelpetersson","followers_url":"https://api.github.com/users/mikaelpetersson/followers","following_url":"https://api.github.com/users/mikaelpetersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpetersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelpetersson/orgs","repos_url":"https://api.github.com/users/mikaelpetersson/repos","events_url":"https://api.github.com/users/mikaelpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpetersson/received_events","type":"User","site_admin":false},"repo":{"id":56438209,"name":"superweather","full_name":"mikaelpetersson/superweather","owner":{"login":"mikaelpetersson","id":5724180,"avatar_url":"https://avatars.githubusercontent.com/u/5724180?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpetersson","html_url":"https://github.com/mikaelpetersson","followers_url":"https://api.github.com/users/mikaelpetersson/followers","following_url":"https://api.github.com/users/mikaelpetersson/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpetersson/subscriptions","organizations_url":"https://api.github.com/users/mikaelpetersson/orgs","repos_url":"https://api.github.com/users/mikaelpetersson/repos","events_url":"https://api.github.com/users/mikaelpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpetersson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikaelpetersson/superweather","description":"An iOS weather app","fork":false,"url":"https://api.github.com/repos/mikaelpetersson/superweather","forks_url":"https://api.github.com/repos/mikaelpetersson/superweather/forks","keys_url":"https://api.github.com/repos/mikaelpetersson/superweather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikaelpetersson/superweather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikaelpetersson/superweather/teams","hooks_url":"https://api.github.com/repos/mikaelpetersson/superweather/hooks","issue_events_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/events{/number}","events_url":"https://api.github.com/repos/mikaelpetersson/superweather/events","assignees_url":"https://api.github.com/repos/mikaelpetersson/superweather/assignees{/user}","branches_url":"https://api.github.com/repos/mikaelpetersson/superweather/branches{/branch}","tags_url":"https://api.github.com/repos/mikaelpetersson/superweather/tags","blobs_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikaelpetersson/superweather/statuses/{sha}","languages_url":"https://api.github.com/repos/mikaelpetersson/superweather/languages","stargazers_url":"https://api.github.com/repos/mikaelpetersson/superweather/stargazers","contributors_url":"https://api.github.com/repos/mikaelpetersson/superweather/contributors","subscribers_url":"https://api.github.com/repos/mikaelpetersson/superweather/subscribers","subscription_url":"https://api.github.com/repos/mikaelpetersson/superweather/subscription","commits_url":"https://api.github.com/repos/mikaelpetersson/superweather/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikaelpetersson/superweather/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikaelpetersson/superweather/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikaelpetersson/superweather/contents/{+path}","compare_url":"https://api.github.com/repos/mikaelpetersson/superweather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikaelpetersson/superweather/merges","archive_url":"https://api.github.com/repos/mikaelpetersson/superweather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikaelpetersson/superweather/downloads","issues_url":"https://api.github.com/repos/mikaelpetersson/superweather/issues{/number}","pulls_url":"https://api.github.com/repos/mikaelpetersson/superweather/pulls{/number}","milestones_url":"https://api.github.com/repos/mikaelpetersson/superweather/milestones{/number}","notifications_url":"https://api.github.com/repos/mikaelpetersson/superweather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikaelpetersson/superweather/labels{/name}","releases_url":"https://api.github.com/repos/mikaelpetersson/superweather/releases{/id}","deployments_url":"https://api.github.com/repos/mikaelpetersson/superweather/deployments","created_at":"2016-04-17T13:35:53Z","updated_at":"2016-04-17T13:35:53Z","pushed_at":"2016-04-17T17:39:12Z","git_url":"git://github.com/mikaelpetersson/superweather.git","ssh_url":"git@github.com:mikaelpetersson/superweather.git","clone_url":"https://github.com/mikaelpetersson/superweather.git","svn_url":"https://github.com/mikaelpetersson/superweather","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1"},"html":{"href":"https://github.com/mikaelpetersson/superweather/pull/1"},"issue":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/issues/1"},"comments":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mikaelpetersson/superweather/statuses/48fc4344eb507aab866dc14422a51de01c1af014"}}}}