{"action":"opened","number":311,"pull_request":{"url":"https://api.github.com/repos/realm/RealmTasks/pulls/311","id":87485961,"html_url":"https://github.com/realm/RealmTasks/pull/311","diff_url":"https://github.com/realm/RealmTasks/pull/311.diff","patch_url":"https://github.com/realm/RealmTasks/pull/311.patch","issue_url":"https://api.github.com/repos/realm/RealmTasks/issues/311","number":311,"state":"open","locked":false,"title":"Second round of code reorg re: #112","user":{"login":"icanzilb","id":633862,"avatar_url":"https://avatars.githubusercontent.com/u/633862?v=3","gravatar_id":"","url":"https://api.github.com/users/icanzilb","html_url":"https://github.com/icanzilb","followers_url":"https://api.github.com/users/icanzilb/followers","following_url":"https://api.github.com/users/icanzilb/following{/other_user}","gists_url":"https://api.github.com/users/icanzilb/gists{/gist_id}","starred_url":"https://api.github.com/users/icanzilb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icanzilb/subscriptions","organizations_url":"https://api.github.com/users/icanzilb/orgs","repos_url":"https://api.github.com/users/icanzilb/repos","events_url":"https://api.github.com/users/icanzilb/events{/privacy}","received_events_url":"https://api.github.com/users/icanzilb/received_events","type":"User","site_admin":false},"body":"This PR should not change any functionality it only restructures the code to lighten the load on ViewController:\r\n\r\nmoves as much as possible view logic out of view controller into respective files\r\nsimplifies navigation and avoids the usage of closures to create controllers\r\nreorders iOS project files into groups to improve discoverability\r\nI looked into fully extracting the navigation out of ViewController as discussed in #112 but I ran into weird racing problems when ViewController objects are created from another class during table view scrolling and after a while, it felt more practical to wrap up all other changes and send a PR","created_at":"2016-09-30T12:36:19Z","updated_at":"2016-09-30T12:36:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/realm/RealmTasks/pulls/311/commits","review_comments_url":"https://api.github.com/repos/realm/RealmTasks/pulls/311/comments","review_comment_url":"https://api.github.com/repos/realm/RealmTasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/RealmTasks/issues/311/comments","statuses_url":"https://api.github.com/repos/realm/RealmTasks/statuses/6afc2f613fa80903edbf58749d46288e4166fb72","head":{"label":"realm:mt-navigation-round2","ref":"mt-navigation-round2","sha":"6afc2f613fa80903edbf58749d46288e4166fb72","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":56020602,"name":"RealmTasks","full_name":"realm/RealmTasks","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/RealmTasks","description":"To Do app built with Realm, inspired by Clear for iOS","fork":false,"url":"https://api.github.com/repos/realm/RealmTasks","forks_url":"https://api.github.com/repos/realm/RealmTasks/forks","keys_url":"https://api.github.com/repos/realm/RealmTasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/RealmTasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/RealmTasks/teams","hooks_url":"https://api.github.com/repos/realm/RealmTasks/hooks","issue_events_url":"https://api.github.com/repos/realm/RealmTasks/issues/events{/number}","events_url":"https://api.github.com/repos/realm/RealmTasks/events","assignees_url":"https://api.github.com/repos/realm/RealmTasks/assignees{/user}","branches_url":"https://api.github.com/repos/realm/RealmTasks/branches{/branch}","tags_url":"https://api.github.com/repos/realm/RealmTasks/tags","blobs_url":"https://api.github.com/repos/realm/RealmTasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/RealmTasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/RealmTasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/RealmTasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/RealmTasks/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/RealmTasks/languages","stargazers_url":"https://api.github.com/repos/realm/RealmTasks/stargazers","contributors_url":"https://api.github.com/repos/realm/RealmTasks/contributors","subscribers_url":"https://api.github.com/repos/realm/RealmTasks/subscribers","subscription_url":"https://api.github.com/repos/realm/RealmTasks/subscription","commits_url":"https://api.github.com/repos/realm/RealmTasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/RealmTasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/RealmTasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/RealmTasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/RealmTasks/contents/{+path}","compare_url":"https://api.github.com/repos/realm/RealmTasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/RealmTasks/merges","archive_url":"https://api.github.com/repos/realm/RealmTasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/RealmTasks/downloads","issues_url":"https://api.github.com/repos/realm/RealmTasks/issues{/number}","pulls_url":"https://api.github.com/repos/realm/RealmTasks/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/RealmTasks/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/RealmTasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/RealmTasks/labels{/name}","releases_url":"https://api.github.com/repos/realm/RealmTasks/releases{/id}","deployments_url":"https://api.github.com/repos/realm/RealmTasks/deployments","created_at":"2016-04-12T01:26:28Z","updated_at":"2016-09-30T12:05:18Z","pushed_at":"2016-09-30T12:36:19Z","git_url":"git://github.com/realm/RealmTasks.git","ssh_url":"git@github.com:realm/RealmTasks.git","clone_url":"https://github.com/realm/RealmTasks.git","svn_url":"https://github.com/realm/RealmTasks","homepage":null,"size":27894,"stargazers_count":130,"watchers_count":130,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":66,"forks":8,"open_issues":66,"watchers":130,"default_branch":"master"}},"base":{"label":"realm:master","ref":"master","sha":"943630c162cbb3bc6411868011b1b7dd12a027c7","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":56020602,"name":"RealmTasks","full_name":"realm/RealmTasks","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/RealmTasks","description":"To Do app built with Realm, inspired by Clear for iOS","fork":false,"url":"https://api.github.com/repos/realm/RealmTasks","forks_url":"https://api.github.com/repos/realm/RealmTasks/forks","keys_url":"https://api.github.com/repos/realm/RealmTasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/RealmTasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/RealmTasks/teams","hooks_url":"https://api.github.com/repos/realm/RealmTasks/hooks","issue_events_url":"https://api.github.com/repos/realm/RealmTasks/issues/events{/number}","events_url":"https://api.github.com/repos/realm/RealmTasks/events","assignees_url":"https://api.github.com/repos/realm/RealmTasks/assignees{/user}","branches_url":"https://api.github.com/repos/realm/RealmTasks/branches{/branch}","tags_url":"https://api.github.com/repos/realm/RealmTasks/tags","blobs_url":"https://api.github.com/repos/realm/RealmTasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/RealmTasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/RealmTasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/RealmTasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/RealmTasks/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/RealmTasks/languages","stargazers_url":"https://api.github.com/repos/realm/RealmTasks/stargazers","contributors_url":"https://api.github.com/repos/realm/RealmTasks/contributors","subscribers_url":"https://api.github.com/repos/realm/RealmTasks/subscribers","subscription_url":"https://api.github.com/repos/realm/RealmTasks/subscription","commits_url":"https://api.github.com/repos/realm/RealmTasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/RealmTasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/RealmTasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/RealmTasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/RealmTasks/contents/{+path}","compare_url":"https://api.github.com/repos/realm/RealmTasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/RealmTasks/merges","archive_url":"https://api.github.com/repos/realm/RealmTasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/RealmTasks/downloads","issues_url":"https://api.github.com/repos/realm/RealmTasks/issues{/number}","pulls_url":"https://api.github.com/repos/realm/RealmTasks/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/RealmTasks/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/RealmTasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/RealmTasks/labels{/name}","releases_url":"https://api.github.com/repos/realm/RealmTasks/releases{/id}","deployments_url":"https://api.github.com/repos/realm/RealmTasks/deployments","created_at":"2016-04-12T01:26:28Z","updated_at":"2016-09-30T12:05:18Z","pushed_at":"2016-09-30T12:36:19Z","git_url":"git://github.com/realm/RealmTasks.git","ssh_url":"git@github.com:realm/RealmTasks.git","clone_url":"https://github.com/realm/RealmTasks.git","svn_url":"https://github.com/realm/RealmTasks","homepage":null,"size":27894,"stargazers_count":130,"watchers_count":130,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":66,"forks":8,"open_issues":66,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/RealmTasks/pulls/311"},"html":{"href":"https://github.com/realm/RealmTasks/pull/311"},"issue":{"href":"https://api.github.com/repos/realm/RealmTasks/issues/311"},"comments":{"href":"https://api.github.com/repos/realm/RealmTasks/issues/311/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/RealmTasks/pulls/311/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/RealmTasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/RealmTasks/pulls/311/commits"},"statuses":{"href":"https://api.github.com/repos/realm/RealmTasks/statuses/6afc2f613fa80903edbf58749d46288e4166fb72"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":16,"additions":343,"deletions":192,"changed_files":7}}
{"actor":{"display_login":"icanzilb"}}