{"action":"created","comment":{"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments/29555198","id":29555198,"diff_hunk":"@@ -47,8 +50,23 @@ class EventsListViewController: UIViewController, UITableViewDataSource, UITable\n         eventsListTable.delegate = self\n     }\n     \n+    func refreshData() {\n+        updateUserEvents()\n+    }\n+    \n+    private func getUserOnboard() {","path":"PSix/EventsListViewController.swift","position":45,"original_position":45,"commit_id":"3f9ae838aa70bc97b03873a59c1af73aac455fc0","original_commit_id":"3f9ae838aa70bc97b03873a59c1af73aac455fc0","user":{"login":"yonbergman","id":461578,"avatar_url":"https://avatars.githubusercontent.com/u/461578?v=3","gravatar_id":"","url":"https://api.github.com/users/yonbergman","html_url":"https://github.com/yonbergman","followers_url":"https://api.github.com/users/yonbergman/followers","following_url":"https://api.github.com/users/yonbergman/following{/other_user}","gists_url":"https://api.github.com/users/yonbergman/gists{/gist_id}","starred_url":"https://api.github.com/users/yonbergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonbergman/subscriptions","organizations_url":"https://api.github.com/users/yonbergman/orgs","repos_url":"https://api.github.com/users/yonbergman/repos","events_url":"https://api.github.com/users/yonbergman/events{/privacy}","received_events_url":"https://api.github.com/users/yonbergman/received_events","type":"User","site_admin":false},"body":"presentUserOnboarding","created_at":"2015-05-03T11:21:07Z","updated_at":"2015-05-03T11:21:07Z","html_url":"https://github.com/iic-ninjas/PSix-iOS/pull/6#discussion_r29555198","pull_request_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/comments/29555198"},"html":{"href":"https://github.com/iic-ninjas/PSix-iOS/pull/6#discussion_r29555198"},"pull_request":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6","id":34591567,"html_url":"https://github.com/iic-ninjas/PSix-iOS/pull/6","diff_url":"https://github.com/iic-ninjas/PSix-iOS/pull/6.diff","patch_url":"https://github.com/iic-ninjas/PSix-iOS/pull/6.patch","issue_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/6","number":6,"state":"open","locked":false,"title":"Extended Data Model","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":"Most of the work here went towards making the data model better. The data always flows inwards from Facebook. All of the data is saved locally, and only the most basic information that is required for payments is saved into Parse.\r\n\r\nAlso added RSVP information that will be used for the detail display of the event information. Currently it's not even fetched from Facebook yet.\r\n\r\nAlso added a display for empty state and pull to refresh.\r\n\r\n### Refresh Animation Now Displayed when the Application Opens\r\n![refresh on open](https://cloud.githubusercontent.com/assets/821024/7442732/b3014130-f125-11e4-9416-ef7ae8641971.gif)\r\n\r\n### Pull to Refresh Will Change to Empty State of All Events were Deleted\r\n![refresh to empty state](https://cloud.githubusercontent.com/assets/821024/7442735/d01158fa-f125-11e4-9afa-3aa0b064e12b.gif)\r\n\r\n### Clicking the Big Refresh Button in the Empty State will Reveal the List of Events\r\n![refresh from empty to single](https://cloud.githubusercontent.com/assets/821024/7442739/f531322c-f125-11e4-8583-d81c3ec1a758.gif)\r\n\r\n### Pulling the List to Refresh will Load More Information if Available\r\n![refresh for more](https://cloud.githubusercontent.com/assets/821024/7442743/385c820e-f126-11e4-81bb-6b5e0cae544d.gif)\r\n","created_at":"2015-05-02T20:53:22Z","updated_at":"2015-05-03T11:21:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7e810b2e0f4e985c956f5a15eb366bbff9da337","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6/commits","review_comments_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6/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/6/comments","statuses_url":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/3f9ae838aa70bc97b03873a59c1af73aac455fc0","head":{"label":"iic-ninjas:persistence","ref":"persistence","sha":"3f9ae838aa70bc97b03873a59c1af73aac455fc0","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-28T15:05:40Z","pushed_at":"2015-05-03T07:41:40Z","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":11428,"stargazers_count":1,"watchers_count":1,"language":"Swift","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":1,"default_branch":"master"}},"base":{"label":"iic-ninjas:master","ref":"master","sha":"5740d761c53604cb3354bc6edc788308817df45e","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-28T15:05:40Z","pushed_at":"2015-05-03T07:41:40Z","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":11428,"stargazers_count":1,"watchers_count":1,"language":"Swift","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6"},"html":{"href":"https://github.com/iic-ninjas/PSix-iOS/pull/6"},"issue":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/6"},"comments":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/pulls/6/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/6/commits"},"statuses":{"href":"https://api.github.com/repos/iic-ninjas/PSix-iOS/statuses/3f9ae838aa70bc97b03873a59c1af73aac455fc0"}}}}