{"action":"created","comment":{"url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/comments/25995097","id":25995097,"diff_hunk":"@@ -15,9 +15,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {\n     var suggestions: NSMutableArray = []\n \n     func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n-        let path = NSBundle.mainBundle().pathForResource(\"data\", ofType: \"json\")\n-        let data = NSData(contentsOfFile: path!)\n-        var results = NSJSONSerialization.JSONObjectWithData(data!, options: NSJSONReadingOptions.MutableContainers, error: nil) as! NSArray\n+        \n+        //let loader: FixturesLoader = FixturesLoader()\n+        let loader: RESTLoader = RESTLoader()\n+","path":"Nomster/AppDelegate.swift","position":10,"original_position":10,"commit_id":"67a20b6a49c0436a9ffc02c3db3750242d497a33","original_commit_id":"67a20b6a49c0436a9ffc02c3db3750242d497a33","user":{"login":"tscholze","id":5583469,"avatar_url":"https://avatars.githubusercontent.com/u/5583469?v=3","gravatar_id":"","url":"https://api.github.com/users/tscholze","html_url":"https://github.com/tscholze","followers_url":"https://api.github.com/users/tscholze/followers","following_url":"https://api.github.com/users/tscholze/following{/other_user}","gists_url":"https://api.github.com/users/tscholze/gists{/gist_id}","starred_url":"https://api.github.com/users/tscholze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tscholze/subscriptions","organizations_url":"https://api.github.com/users/tscholze/orgs","repos_url":"https://api.github.com/users/tscholze/repos","events_url":"https://api.github.com/users/tscholze/events{/privacy}","received_events_url":"https://api.github.com/users/tscholze/received_events","type":"User","site_admin":false},"body":"IS this space necessary?","created_at":"2015-03-07T10:34:16Z","updated_at":"2015-03-07T10:34:16Z","html_url":"https://github.com/tscholze/nomster-ios/pull/1#discussion_r25995097","pull_request_url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tscholze/nomster-ios/pulls/comments/25995097"},"html":{"href":"https://github.com/tscholze/nomster-ios/pull/1#discussion_r25995097"},"pull_request":{"href":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1","id":30684367,"html_url":"https://github.com/tscholze/nomster-ios/pull/1","diff_url":"https://github.com/tscholze/nomster-ios/pull/1.diff","patch_url":"https://github.com/tscholze/nomster-ios/pull/1.patch","issue_url":"https://api.github.com/repos/tscholze/nomster-ios/issues/1","number":1,"state":"open","locked":false,"title":"Switch to Nomster-API","user":{"login":"klausmeyer","id":615777,"avatar_url":"https://avatars.githubusercontent.com/u/615777?v=3","gravatar_id":"","url":"https://api.github.com/users/klausmeyer","html_url":"https://github.com/klausmeyer","followers_url":"https://api.github.com/users/klausmeyer/followers","following_url":"https://api.github.com/users/klausmeyer/following{/other_user}","gists_url":"https://api.github.com/users/klausmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/klausmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klausmeyer/subscriptions","organizations_url":"https://api.github.com/users/klausmeyer/orgs","repos_url":"https://api.github.com/users/klausmeyer/repos","events_url":"https://api.github.com/users/klausmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/klausmeyer/received_events","type":"User","site_admin":false},"body":"Changes part of this PR:\r\n\r\n* Read the new data format provided by [klausmeyer/nomster-api](https://github.com/klausmeyer/nomster-api)\r\n* Refactor fixture loading in service class\r\n* Add service class to load data from real api\r\n* Add label to show who created a suggestion\r\n\r\nFeel free to ask for changes :cat:","created_at":"2015-03-06T22:13:31Z","updated_at":"2015-03-07T10:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b72e13720094512f8fee4e544a87486ec802135","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tscholze/nomster-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tscholze/nomster-ios/issues/1/comments","statuses_url":"https://api.github.com/repos/tscholze/nomster-ios/statuses/67a20b6a49c0436a9ffc02c3db3750242d497a33","head":{"label":"klausmeyer:switch-to-api","ref":"switch-to-api","sha":"67a20b6a49c0436a9ffc02c3db3750242d497a33","user":{"login":"klausmeyer","id":615777,"avatar_url":"https://avatars.githubusercontent.com/u/615777?v=3","gravatar_id":"","url":"https://api.github.com/users/klausmeyer","html_url":"https://github.com/klausmeyer","followers_url":"https://api.github.com/users/klausmeyer/followers","following_url":"https://api.github.com/users/klausmeyer/following{/other_user}","gists_url":"https://api.github.com/users/klausmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/klausmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klausmeyer/subscriptions","organizations_url":"https://api.github.com/users/klausmeyer/orgs","repos_url":"https://api.github.com/users/klausmeyer/repos","events_url":"https://api.github.com/users/klausmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/klausmeyer/received_events","type":"User","site_admin":false},"repo":{"id":31790270,"name":"nomster-ios","full_name":"klausmeyer/nomster-ios","owner":{"login":"klausmeyer","id":615777,"avatar_url":"https://avatars.githubusercontent.com/u/615777?v=3","gravatar_id":"","url":"https://api.github.com/users/klausmeyer","html_url":"https://github.com/klausmeyer","followers_url":"https://api.github.com/users/klausmeyer/followers","following_url":"https://api.github.com/users/klausmeyer/following{/other_user}","gists_url":"https://api.github.com/users/klausmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/klausmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klausmeyer/subscriptions","organizations_url":"https://api.github.com/users/klausmeyer/orgs","repos_url":"https://api.github.com/users/klausmeyer/repos","events_url":"https://api.github.com/users/klausmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/klausmeyer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/klausmeyer/nomster-ios","description":"iOS Client for the Nomster ecosystem","fork":true,"url":"https://api.github.com/repos/klausmeyer/nomster-ios","forks_url":"https://api.github.com/repos/klausmeyer/nomster-ios/forks","keys_url":"https://api.github.com/repos/klausmeyer/nomster-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klausmeyer/nomster-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klausmeyer/nomster-ios/teams","hooks_url":"https://api.github.com/repos/klausmeyer/nomster-ios/hooks","issue_events_url":"https://api.github.com/repos/klausmeyer/nomster-ios/issues/events{/number}","events_url":"https://api.github.com/repos/klausmeyer/nomster-ios/events","assignees_url":"https://api.github.com/repos/klausmeyer/nomster-ios/assignees{/user}","branches_url":"https://api.github.com/repos/klausmeyer/nomster-ios/branches{/branch}","tags_url":"https://api.github.com/repos/klausmeyer/nomster-ios/tags","blobs_url":"https://api.github.com/repos/klausmeyer/nomster-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klausmeyer/nomster-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klausmeyer/nomster-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/klausmeyer/nomster-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klausmeyer/nomster-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/klausmeyer/nomster-ios/languages","stargazers_url":"https://api.github.com/repos/klausmeyer/nomster-ios/stargazers","contributors_url":"https://api.github.com/repos/klausmeyer/nomster-ios/contributors","subscribers_url":"https://api.github.com/repos/klausmeyer/nomster-ios/subscribers","subscription_url":"https://api.github.com/repos/klausmeyer/nomster-ios/subscription","commits_url":"https://api.github.com/repos/klausmeyer/nomster-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/klausmeyer/nomster-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/klausmeyer/nomster-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/klausmeyer/nomster-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/klausmeyer/nomster-ios/contents/{+path}","compare_url":"https://api.github.com/repos/klausmeyer/nomster-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klausmeyer/nomster-ios/merges","archive_url":"https://api.github.com/repos/klausmeyer/nomster-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klausmeyer/nomster-ios/downloads","issues_url":"https://api.github.com/repos/klausmeyer/nomster-ios/issues{/number}","pulls_url":"https://api.github.com/repos/klausmeyer/nomster-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/klausmeyer/nomster-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/klausmeyer/nomster-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klausmeyer/nomster-ios/labels{/name}","releases_url":"https://api.github.com/repos/klausmeyer/nomster-ios/releases{/id}","created_at":"2015-03-06T21:41:45Z","updated_at":"2015-03-06T21:41:45Z","pushed_at":"2015-03-06T22:05:36Z","git_url":"git://github.com/klausmeyer/nomster-ios.git","ssh_url":"git@github.com:klausmeyer/nomster-ios.git","clone_url":"https://github.com/klausmeyer/nomster-ios.git","svn_url":"https://github.com/klausmeyer/nomster-ios","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"tscholze:master","ref":"master","sha":"2e32688c614a9a6d38932a149b188b4f4a96ac21","user":{"login":"tscholze","id":5583469,"avatar_url":"https://avatars.githubusercontent.com/u/5583469?v=3","gravatar_id":"","url":"https://api.github.com/users/tscholze","html_url":"https://github.com/tscholze","followers_url":"https://api.github.com/users/tscholze/followers","following_url":"https://api.github.com/users/tscholze/following{/other_user}","gists_url":"https://api.github.com/users/tscholze/gists{/gist_id}","starred_url":"https://api.github.com/users/tscholze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tscholze/subscriptions","organizations_url":"https://api.github.com/users/tscholze/orgs","repos_url":"https://api.github.com/users/tscholze/repos","events_url":"https://api.github.com/users/tscholze/events{/privacy}","received_events_url":"https://api.github.com/users/tscholze/received_events","type":"User","site_admin":false},"repo":{"id":31468888,"name":"nomster-ios","full_name":"tscholze/nomster-ios","owner":{"login":"tscholze","id":5583469,"avatar_url":"https://avatars.githubusercontent.com/u/5583469?v=3","gravatar_id":"","url":"https://api.github.com/users/tscholze","html_url":"https://github.com/tscholze","followers_url":"https://api.github.com/users/tscholze/followers","following_url":"https://api.github.com/users/tscholze/following{/other_user}","gists_url":"https://api.github.com/users/tscholze/gists{/gist_id}","starred_url":"https://api.github.com/users/tscholze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tscholze/subscriptions","organizations_url":"https://api.github.com/users/tscholze/orgs","repos_url":"https://api.github.com/users/tscholze/repos","events_url":"https://api.github.com/users/tscholze/events{/privacy}","received_events_url":"https://api.github.com/users/tscholze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tscholze/nomster-ios","description":"iOS Client for the Nomster ecosystem","fork":false,"url":"https://api.github.com/repos/tscholze/nomster-ios","forks_url":"https://api.github.com/repos/tscholze/nomster-ios/forks","keys_url":"https://api.github.com/repos/tscholze/nomster-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tscholze/nomster-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tscholze/nomster-ios/teams","hooks_url":"https://api.github.com/repos/tscholze/nomster-ios/hooks","issue_events_url":"https://api.github.com/repos/tscholze/nomster-ios/issues/events{/number}","events_url":"https://api.github.com/repos/tscholze/nomster-ios/events","assignees_url":"https://api.github.com/repos/tscholze/nomster-ios/assignees{/user}","branches_url":"https://api.github.com/repos/tscholze/nomster-ios/branches{/branch}","tags_url":"https://api.github.com/repos/tscholze/nomster-ios/tags","blobs_url":"https://api.github.com/repos/tscholze/nomster-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tscholze/nomster-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tscholze/nomster-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/tscholze/nomster-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tscholze/nomster-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/tscholze/nomster-ios/languages","stargazers_url":"https://api.github.com/repos/tscholze/nomster-ios/stargazers","contributors_url":"https://api.github.com/repos/tscholze/nomster-ios/contributors","subscribers_url":"https://api.github.com/repos/tscholze/nomster-ios/subscribers","subscription_url":"https://api.github.com/repos/tscholze/nomster-ios/subscription","commits_url":"https://api.github.com/repos/tscholze/nomster-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/tscholze/nomster-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/tscholze/nomster-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/tscholze/nomster-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/tscholze/nomster-ios/contents/{+path}","compare_url":"https://api.github.com/repos/tscholze/nomster-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tscholze/nomster-ios/merges","archive_url":"https://api.github.com/repos/tscholze/nomster-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tscholze/nomster-ios/downloads","issues_url":"https://api.github.com/repos/tscholze/nomster-ios/issues{/number}","pulls_url":"https://api.github.com/repos/tscholze/nomster-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/tscholze/nomster-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/tscholze/nomster-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tscholze/nomster-ios/labels{/name}","releases_url":"https://api.github.com/repos/tscholze/nomster-ios/releases{/id}","created_at":"2015-02-28T16:51:07Z","updated_at":"2015-03-07T10:02:47Z","pushed_at":"2015-03-07T10:02:46Z","git_url":"git://github.com/tscholze/nomster-ios.git","ssh_url":"git@github.com:tscholze/nomster-ios.git","clone_url":"https://github.com/tscholze/nomster-ios.git","svn_url":"https://github.com/tscholze/nomster-ios","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Swift","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/tscholze/nomster-ios/pulls/1"},"html":{"href":"https://github.com/tscholze/nomster-ios/pull/1"},"issue":{"href":"https://api.github.com/repos/tscholze/nomster-ios/issues/1"},"comments":{"href":"https://api.github.com/repos/tscholze/nomster-ios/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tscholze/nomster-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tscholze/nomster-ios/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tscholze/nomster-ios/statuses/67a20b6a49c0436a9ffc02c3db3750242d497a33"}}}}