{"action":"created","comment":{"url":"https://api.github.com/repos/Motcha/iOS/pulls/comments/25363572","id":25363572,"diff_hunk":"@@ -0,0 +1,15 @@\n+#import <UIKit/UIKit.h>\n+#import \"MCNewsItemConstraintsProtocol.h\"\n+\n+typedef UIView<MCNewsItemHorizontalConstraintsProtocol> ViewWithHConstraints;\n+\n+@protocol MCPageViewDelegate <UIScrollViewDelegate>\n+@optional\n+- (void)scrollViewDidEndScrollingWithoutAnimation:(UIScrollView *)scrollView;","path":"motcha/UI/PageContainer/MCPageView.h","position":8,"original_position":8,"commit_id":"896865c0c88219c3a4ca6f0278317d5f6b6db465","original_commit_id":"896865c0c88219c3a4ca6f0278317d5f6b6db465","user":{"login":"shinfan","id":1514780,"avatar_url":"https://avatars.githubusercontent.com/u/1514780?v=3","gravatar_id":"","url":"https://api.github.com/users/shinfan","html_url":"https://github.com/shinfan","followers_url":"https://api.github.com/users/shinfan/followers","following_url":"https://api.github.com/users/shinfan/following{/other_user}","gists_url":"https://api.github.com/users/shinfan/gists{/gist_id}","starred_url":"https://api.github.com/users/shinfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinfan/subscriptions","organizations_url":"https://api.github.com/users/shinfan/orgs","repos_url":"https://api.github.com/users/shinfan/repos","events_url":"https://api.github.com/users/shinfan/events{/privacy}","received_events_url":"https://api.github.com/users/shinfan/received_events","type":"User","site_admin":false},"body":"comment? 这是干啥的。。","created_at":"2015-02-25T18:14:13Z","updated_at":"2015-02-25T18:14:13Z","html_url":"https://github.com/Motcha/iOS/pull/18#discussion_r25363572","pull_request_url":"https://api.github.com/repos/Motcha/iOS/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/comments/25363572"},"html":{"href":"https://github.com/Motcha/iOS/pull/18#discussion_r25363572"},"pull_request":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/Motcha/iOS/pulls/18","id":29825026,"html_url":"https://github.com/Motcha/iOS/pull/18","diff_url":"https://github.com/Motcha/iOS/pull/18.diff","patch_url":"https://github.com/Motcha/iOS/pull/18.patch","issue_url":"https://api.github.com/repos/Motcha/iOS/issues/18","number":18,"state":"open","locked":false,"title":"Category Selector View and Logic. Page View Controller. More.","user":{"login":"franklixuefei","id":1334982,"avatar_url":"https://avatars.githubusercontent.com/u/1334982?v=3","gravatar_id":"","url":"https://api.github.com/users/franklixuefei","html_url":"https://github.com/franklixuefei","followers_url":"https://api.github.com/users/franklixuefei/followers","following_url":"https://api.github.com/users/franklixuefei/following{/other_user}","gists_url":"https://api.github.com/users/franklixuefei/gists{/gist_id}","starred_url":"https://api.github.com/users/franklixuefei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franklixuefei/subscriptions","organizations_url":"https://api.github.com/users/franklixuefei/orgs","repos_url":"https://api.github.com/users/franklixuefei/repos","events_url":"https://api.github.com/users/franklixuefei/events{/privacy}","received_events_url":"https://api.github.com/users/franklixuefei/received_events","type":"User","site_admin":false},"body":"1. Add category selector view and logic.\r\n2. Add MCPageViewController (built based upon UIScrollView) to serve as a paging scroll view infrastructure for our app.\r\n3. Add MCNewsListWrapperViewController to hold an MCPageViewController, displaying the child view controllers (MCNewsListViewController).\r\n4. UI tweaks.\r\n5. Hook up MCPageViewController and MCNavigationController to the app.\r\n6. Remove Swizzling method since it is too dangerous. Instead we just manually call the method we want as needed, which is not too bad.","created_at":"2015-02-23T16:55:31Z","updated_at":"2015-02-25T18:14:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b86fb7119dc204c06494721e085312f7a91102e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Motcha/iOS/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Motcha/iOS/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Motcha/iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Motcha/iOS/issues/18/comments","statuses_url":"https://api.github.com/repos/Motcha/iOS/statuses/896865c0c88219c3a4ca6f0278317d5f6b6db465","head":{"label":"franklixuefei:category","ref":"category","sha":"896865c0c88219c3a4ca6f0278317d5f6b6db465","user":{"login":"franklixuefei","id":1334982,"avatar_url":"https://avatars.githubusercontent.com/u/1334982?v=3","gravatar_id":"","url":"https://api.github.com/users/franklixuefei","html_url":"https://github.com/franklixuefei","followers_url":"https://api.github.com/users/franklixuefei/followers","following_url":"https://api.github.com/users/franklixuefei/following{/other_user}","gists_url":"https://api.github.com/users/franklixuefei/gists{/gist_id}","starred_url":"https://api.github.com/users/franklixuefei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franklixuefei/subscriptions","organizations_url":"https://api.github.com/users/franklixuefei/orgs","repos_url":"https://api.github.com/users/franklixuefei/repos","events_url":"https://api.github.com/users/franklixuefei/events{/privacy}","received_events_url":"https://api.github.com/users/franklixuefei/received_events","type":"User","site_admin":false},"repo":{"id":30380928,"name":"iOS","full_name":"franklixuefei/iOS","owner":{"login":"franklixuefei","id":1334982,"avatar_url":"https://avatars.githubusercontent.com/u/1334982?v=3","gravatar_id":"","url":"https://api.github.com/users/franklixuefei","html_url":"https://github.com/franklixuefei","followers_url":"https://api.github.com/users/franklixuefei/followers","following_url":"https://api.github.com/users/franklixuefei/following{/other_user}","gists_url":"https://api.github.com/users/franklixuefei/gists{/gist_id}","starred_url":"https://api.github.com/users/franklixuefei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franklixuefei/subscriptions","organizations_url":"https://api.github.com/users/franklixuefei/orgs","repos_url":"https://api.github.com/users/franklixuefei/repos","events_url":"https://api.github.com/users/franklixuefei/events{/privacy}","received_events_url":"https://api.github.com/users/franklixuefei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/franklixuefei/iOS","description":"The iOS app of Motcha.","fork":true,"url":"https://api.github.com/repos/franklixuefei/iOS","forks_url":"https://api.github.com/repos/franklixuefei/iOS/forks","keys_url":"https://api.github.com/repos/franklixuefei/iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/franklixuefei/iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/franklixuefei/iOS/teams","hooks_url":"https://api.github.com/repos/franklixuefei/iOS/hooks","issue_events_url":"https://api.github.com/repos/franklixuefei/iOS/issues/events{/number}","events_url":"https://api.github.com/repos/franklixuefei/iOS/events","assignees_url":"https://api.github.com/repos/franklixuefei/iOS/assignees{/user}","branches_url":"https://api.github.com/repos/franklixuefei/iOS/branches{/branch}","tags_url":"https://api.github.com/repos/franklixuefei/iOS/tags","blobs_url":"https://api.github.com/repos/franklixuefei/iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/franklixuefei/iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/franklixuefei/iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/franklixuefei/iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/franklixuefei/iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/franklixuefei/iOS/languages","stargazers_url":"https://api.github.com/repos/franklixuefei/iOS/stargazers","contributors_url":"https://api.github.com/repos/franklixuefei/iOS/contributors","subscribers_url":"https://api.github.com/repos/franklixuefei/iOS/subscribers","subscription_url":"https://api.github.com/repos/franklixuefei/iOS/subscription","commits_url":"https://api.github.com/repos/franklixuefei/iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/franklixuefei/iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/franklixuefei/iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/franklixuefei/iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/franklixuefei/iOS/contents/{+path}","compare_url":"https://api.github.com/repos/franklixuefei/iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/franklixuefei/iOS/merges","archive_url":"https://api.github.com/repos/franklixuefei/iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/franklixuefei/iOS/downloads","issues_url":"https://api.github.com/repos/franklixuefei/iOS/issues{/number}","pulls_url":"https://api.github.com/repos/franklixuefei/iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/franklixuefei/iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/franklixuefei/iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/franklixuefei/iOS/labels{/name}","releases_url":"https://api.github.com/repos/franklixuefei/iOS/releases{/id}","created_at":"2015-02-05T22:04:12Z","updated_at":"2015-02-15T01:03:41Z","pushed_at":"2015-02-23T17:08:28Z","git_url":"git://github.com/franklixuefei/iOS.git","ssh_url":"git@github.com:franklixuefei/iOS.git","clone_url":"https://github.com/franklixuefei/iOS.git","svn_url":"https://github.com/franklixuefei/iOS","homepage":null,"size":3692,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"Motcha:master","ref":"master","sha":"b0b612275d8b531da291698336a819e237e6a1de","user":{"login":"Motcha","id":10577210,"avatar_url":"https://avatars.githubusercontent.com/u/10577210?v=3","gravatar_id":"","url":"https://api.github.com/users/Motcha","html_url":"https://github.com/Motcha","followers_url":"https://api.github.com/users/Motcha/followers","following_url":"https://api.github.com/users/Motcha/following{/other_user}","gists_url":"https://api.github.com/users/Motcha/gists{/gist_id}","starred_url":"https://api.github.com/users/Motcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Motcha/subscriptions","organizations_url":"https://api.github.com/users/Motcha/orgs","repos_url":"https://api.github.com/users/Motcha/repos","events_url":"https://api.github.com/users/Motcha/events{/privacy}","received_events_url":"https://api.github.com/users/Motcha/received_events","type":"Organization","site_admin":false},"repo":{"id":29405457,"name":"iOS","full_name":"Motcha/iOS","owner":{"login":"Motcha","id":10577210,"avatar_url":"https://avatars.githubusercontent.com/u/10577210?v=3","gravatar_id":"","url":"https://api.github.com/users/Motcha","html_url":"https://github.com/Motcha","followers_url":"https://api.github.com/users/Motcha/followers","following_url":"https://api.github.com/users/Motcha/following{/other_user}","gists_url":"https://api.github.com/users/Motcha/gists{/gist_id}","starred_url":"https://api.github.com/users/Motcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Motcha/subscriptions","organizations_url":"https://api.github.com/users/Motcha/orgs","repos_url":"https://api.github.com/users/Motcha/repos","events_url":"https://api.github.com/users/Motcha/events{/privacy}","received_events_url":"https://api.github.com/users/Motcha/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Motcha/iOS","description":"The iOS app of Motcha.","fork":false,"url":"https://api.github.com/repos/Motcha/iOS","forks_url":"https://api.github.com/repos/Motcha/iOS/forks","keys_url":"https://api.github.com/repos/Motcha/iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Motcha/iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Motcha/iOS/teams","hooks_url":"https://api.github.com/repos/Motcha/iOS/hooks","issue_events_url":"https://api.github.com/repos/Motcha/iOS/issues/events{/number}","events_url":"https://api.github.com/repos/Motcha/iOS/events","assignees_url":"https://api.github.com/repos/Motcha/iOS/assignees{/user}","branches_url":"https://api.github.com/repos/Motcha/iOS/branches{/branch}","tags_url":"https://api.github.com/repos/Motcha/iOS/tags","blobs_url":"https://api.github.com/repos/Motcha/iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Motcha/iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Motcha/iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Motcha/iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Motcha/iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/Motcha/iOS/languages","stargazers_url":"https://api.github.com/repos/Motcha/iOS/stargazers","contributors_url":"https://api.github.com/repos/Motcha/iOS/contributors","subscribers_url":"https://api.github.com/repos/Motcha/iOS/subscribers","subscription_url":"https://api.github.com/repos/Motcha/iOS/subscription","commits_url":"https://api.github.com/repos/Motcha/iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Motcha/iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Motcha/iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Motcha/iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Motcha/iOS/contents/{+path}","compare_url":"https://api.github.com/repos/Motcha/iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Motcha/iOS/merges","archive_url":"https://api.github.com/repos/Motcha/iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Motcha/iOS/downloads","issues_url":"https://api.github.com/repos/Motcha/iOS/issues{/number}","pulls_url":"https://api.github.com/repos/Motcha/iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/Motcha/iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/Motcha/iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Motcha/iOS/labels{/name}","releases_url":"https://api.github.com/repos/Motcha/iOS/releases{/id}","created_at":"2015-01-17T20:58:03Z","updated_at":"2015-02-13T07:54:58Z","pushed_at":"2015-02-13T07:54:57Z","git_url":"git://github.com/Motcha/iOS.git","ssh_url":"git@github.com:Motcha/iOS.git","clone_url":"https://github.com/Motcha/iOS.git","svn_url":"https://github.com/Motcha/iOS","homepage":null,"size":3636,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/18"},"html":{"href":"https://github.com/Motcha/iOS/pull/18"},"issue":{"href":"https://api.github.com/repos/Motcha/iOS/issues/18"},"comments":{"href":"https://api.github.com/repos/Motcha/iOS/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Motcha/iOS/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Motcha/iOS/statuses/896865c0c88219c3a4ca6f0278317d5f6b6db465"}}}}