{"action":"created","comment":{"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments/28328329","id":28328329,"diff_hunk":"@@ -16,8 +18,42 @@ class AppDelegate: UIResponder, UIApplicationDelegate {\n \n \n     func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n-        // Override point for customization after application launch.\n-        return true\n+        // [Optional] Power your app with Local Datastore. For more info, go to\n+        // https://parse.com/docs/ios_guide#localdatastore/iOS\n+        Parse.enableLocalDatastore()\n+        \n+        // Initialize Parse.\n+        Parse.setApplicationId(\"3VYFRciY4tMgYwEwVYq2veNGbqq7CjJvQUp85IAo\",\n+            clientKey: \"Ny6h1E3DaoO5M6Kgc8tyJZEu2uMiIr7QnqRe3PqY\")\n+        PFFacebookUtils.initializeFacebookWithApplicationLaunchOptions([:])","path":"PSix/AppDelegate.swift","position":22,"original_position":22,"commit_id":"3f5ebcd727152ff39c177fff591e972ffc7d3edc","original_commit_id":"3f5ebcd727152ff39c177fff591e972ffc7d3edc","user":{"login":"agelber","id":2394509,"avatar_url":"https://avatars.githubusercontent.com/u/2394509?v=3","gravatar_id":"","url":"https://api.github.com/users/agelber","html_url":"https://github.com/agelber","followers_url":"https://api.github.com/users/agelber/followers","following_url":"https://api.github.com/users/agelber/following{/other_user}","gists_url":"https://api.github.com/users/agelber/gists{/gist_id}","starred_url":"https://api.github.com/users/agelber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agelber/subscriptions","organizations_url":"https://api.github.com/users/agelber/orgs","repos_url":"https://api.github.com/users/agelber/repos","events_url":"https://api.github.com/users/agelber/events{/privacy}","received_events_url":"https://api.github.com/users/agelber/received_events","type":"User","site_admin":false},"body":"Instead of just passing in the empty dictionary, you could do `launchOptions ?? [:]`","created_at":"2015-04-14T13:57:28Z","updated_at":"2015-04-14T13:57:28Z","html_url":"https://github.com/iic-ninjas/PSix-iOS/pull/1#discussion_r28328329","pull_request_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments/28328329"},"html":{"href":"https://github.com/iic-ninjas/PSix-iOS/pull/1#discussion_r28328329"},"pull_request":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1","id":33255845,"html_url":"https://github.com/iic-ninjas/PSix-iOS/pull/1","diff_url":"https://github.com/iic-ninjas/PSix-iOS/pull/1.diff","patch_url":"https://github.com/iic-ninjas/PSix-iOS/pull/1.patch","issue_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/1","number":1,"state":"open","locked":false,"title":"Added Facebook Login","user":{"login":"avihut","id":821024,"avatar_url":"https://avatars.githubusercontent.com/u/821024?v=3","gravatar_id":"","url":"https://api.github.com/users/avihut","html_url":"https://github.com/avihut","followers_url":"https://api.github.com/users/avihut/followers","following_url":"https://api.github.com/users/avihut/following{/other_user}","gists_url":"https://api.github.com/users/avihut/gists{/gist_id}","starred_url":"https://api.github.com/users/avihut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avihut/subscriptions","organizations_url":"https://api.github.com/users/avihut/orgs","repos_url":"https://api.github.com/users/avihut/repos","events_url":"https://api.github.com/users/avihut/events{/privacy}","received_events_url":"https://api.github.com/users/avihut/received_events","type":"User","site_admin":false},"body":"![psix fb login](https://cloud.githubusercontent.com/assets/821024/7137291/01a53170-e2c1-11e4-8279-6684889d2510.gif)\r\n\r\n- The login button is a custom implementation by me using the Parse framework.\r\n- When the user successfully logs in with Facebook he is immediately segued to the events list screen.\r\n\r\nStill working on persisting login so it won't be required after opening the app again.","created_at":"2015-04-14T13:16:27Z","updated_at":"2015-04-14T13:57:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12b676b012d1482d8ebed27760dd98f6cf03d11d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1/commits","review_comments_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1/comments","review_comment_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/1/comments","statuses_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/3f5ebcd727152ff39c177fff591e972ffc7d3edc","head":{"label":"iic-ninjas:parse-and-face","ref":"parse-and-face","sha":"3f5ebcd727152ff39c177fff591e972ffc7d3edc","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":33816465,"name":"PSix-iOS","full_name":"iic-ninjas/PSix-iOS","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/PSix-iOS","description":"Social payments for Facebook events","fork":false,"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS","forks_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/forks","keys_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/events","assignees_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/merges","archive_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/releases{/id}","created_at":"2015-04-12T12:44:37Z","updated_at":"2015-04-12T13:36:01Z","pushed_at":"2015-04-14T13:16:27Z","git_url":"git://github.com/iic-ninjas/PSix-iOS.git","ssh_url":"git@github.com:iic-ninjas/PSix-iOS.git","clone_url":"https://github.com/iic-ninjas/PSix-iOS.git","svn_url":"https://github.com/iic-ninjas/PSix-iOS","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"iic-ninjas:master","ref":"master","sha":"b97f37e2234f27d69a74c7044e232c834fee9f48","user":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"repo":{"id":33816465,"name":"PSix-iOS","full_name":"iic-ninjas/PSix-iOS","owner":{"login":"iic-ninjas","id":5079491,"avatar_url":"https://avatars.githubusercontent.com/u/5079491?v=3","gravatar_id":"","url":"https://api.github.com/users/iic-ninjas","html_url":"https://github.com/iic-ninjas","followers_url":"https://api.github.com/users/iic-ninjas/followers","following_url":"https://api.github.com/users/iic-ninjas/following{/other_user}","gists_url":"https://api.github.com/users/iic-ninjas/gists{/gist_id}","starred_url":"https://api.github.com/users/iic-ninjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iic-ninjas/subscriptions","organizations_url":"https://api.github.com/users/iic-ninjas/orgs","repos_url":"https://api.github.com/users/iic-ninjas/repos","events_url":"https://api.github.com/users/iic-ninjas/events{/privacy}","received_events_url":"https://api.github.com/users/iic-ninjas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iic-ninjas/PSix-iOS","description":"Social payments for Facebook events","fork":false,"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS","forks_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/forks","keys_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/teams","hooks_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/hooks","issue_events_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/events","assignees_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/tags","blobs_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/languages","stargazers_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/stargazers","contributors_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/contributors","subscribers_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/subscribers","subscription_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/subscription","commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/merges","archive_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/downloads","issues_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/labels{/name}","releases_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/releases{/id}","created_at":"2015-04-12T12:44:37Z","updated_at":"2015-04-12T13:36:01Z","pushed_at":"2015-04-14T13:16:27Z","git_url":"git://github.com/iic-ninjas/PSix-iOS.git","ssh_url":"git@github.com:iic-ninjas/PSix-iOS.git","clone_url":"https://github.com/iic-ninjas/PSix-iOS.git","svn_url":"https://github.com/iic-ninjas/PSix-iOS","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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/iic-ninjas/PSix-iOS/pulls/1"},"html":{"href":"https://github.com/iic-ninjas/PSix-iOS/pull/1"},"issue":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/1"},"comments":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/3f5ebcd727152ff39c177fff591e972ffc7d3edc"}}}}