{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/singro/v2ex/pulls/21","id":45896443,"html_url":"https://github.com/singro/v2ex/pull/21","diff_url":"https://github.com/singro/v2ex/pull/21.diff","patch_url":"https://github.com/singro/v2ex/pull/21.patch","issue_url":"https://api.github.com/repos/singro/v2ex/issues/21","number":21,"state":"open","locked":false,"title":"refactor: 对节点页面Cell: V2NodesViewCell的代码进行了一些优化。","user":{"login":"XVXVXXX","id":8554809,"avatar_url":"https://avatars.githubusercontent.com/u/8554809?v=3","gravatar_id":"","url":"https://api.github.com/users/XVXVXXX","html_url":"https://github.com/XVXVXXX","followers_url":"https://api.github.com/users/XVXVXXX/followers","following_url":"https://api.github.com/users/XVXVXXX/following{/other_user}","gists_url":"https://api.github.com/users/XVXVXXX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVXVXXX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVXVXXX/subscriptions","organizations_url":"https://api.github.com/users/XVXVXXX/orgs","repos_url":"https://api.github.com/users/XVXVXXX/repos","events_url":"https://api.github.com/users/XVXVXXX/events{/privacy}","received_events_url":"https://api.github.com/users/XVXVXXX/received_events","type":"User","site_admin":false},"body":"refactor: 对节点页面Cell: V2NodesViewCell的代码进行了一些优化。\r\n主要是对于cell里面的大量button，之前的代码在设置data的时候进行了很多用bk进行的重复不必要的操作，可以再初始化button的时候做。\r\n还有一些更适合在prepareForReuse里面做的事情放进去。\r\nTODO: 本意是看到V2EX里面节点页面滑动很卡(iPhone6 iOS9)，想着也是V友想来优化一下，结果发现里面是buttons...然后并没有找到合适的办法（自己太菜了），顺手改了下代码。\r\n","created_at":"2015-09-24T13:26:57Z","updated_at":"2015-09-24T13:26:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/singro/v2ex/pulls/21/commits","review_comments_url":"https://api.github.com/repos/singro/v2ex/pulls/21/comments","review_comment_url":"https://api.github.com/repos/singro/v2ex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/singro/v2ex/issues/21/comments","statuses_url":"https://api.github.com/repos/singro/v2ex/statuses/ca19502b6087d4f0ed3439ae53b3ae8da6fc0078","head":{"label":"XVXVXXX:dev","ref":"dev","sha":"ca19502b6087d4f0ed3439ae53b3ae8da6fc0078","user":{"login":"XVXVXXX","id":8554809,"avatar_url":"https://avatars.githubusercontent.com/u/8554809?v=3","gravatar_id":"","url":"https://api.github.com/users/XVXVXXX","html_url":"https://github.com/XVXVXXX","followers_url":"https://api.github.com/users/XVXVXXX/followers","following_url":"https://api.github.com/users/XVXVXXX/following{/other_user}","gists_url":"https://api.github.com/users/XVXVXXX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVXVXXX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVXVXXX/subscriptions","organizations_url":"https://api.github.com/users/XVXVXXX/orgs","repos_url":"https://api.github.com/users/XVXVXXX/repos","events_url":"https://api.github.com/users/XVXVXXX/events{/privacy}","received_events_url":"https://api.github.com/users/XVXVXXX/received_events","type":"User","site_admin":false},"repo":{"id":43037131,"name":"v2ex","full_name":"XVXVXXX/v2ex","owner":{"login":"XVXVXXX","id":8554809,"avatar_url":"https://avatars.githubusercontent.com/u/8554809?v=3","gravatar_id":"","url":"https://api.github.com/users/XVXVXXX","html_url":"https://github.com/XVXVXXX","followers_url":"https://api.github.com/users/XVXVXXX/followers","following_url":"https://api.github.com/users/XVXVXXX/following{/other_user}","gists_url":"https://api.github.com/users/XVXVXXX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVXVXXX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVXVXXX/subscriptions","organizations_url":"https://api.github.com/users/XVXVXXX/orgs","repos_url":"https://api.github.com/users/XVXVXXX/repos","events_url":"https://api.github.com/users/XVXVXXX/events{/privacy}","received_events_url":"https://api.github.com/users/XVXVXXX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/XVXVXXX/v2ex","description":"An iOS client for v2ex.com","fork":true,"url":"https://api.github.com/repos/XVXVXXX/v2ex","forks_url":"https://api.github.com/repos/XVXVXXX/v2ex/forks","keys_url":"https://api.github.com/repos/XVXVXXX/v2ex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XVXVXXX/v2ex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XVXVXXX/v2ex/teams","hooks_url":"https://api.github.com/repos/XVXVXXX/v2ex/hooks","issue_events_url":"https://api.github.com/repos/XVXVXXX/v2ex/issues/events{/number}","events_url":"https://api.github.com/repos/XVXVXXX/v2ex/events","assignees_url":"https://api.github.com/repos/XVXVXXX/v2ex/assignees{/user}","branches_url":"https://api.github.com/repos/XVXVXXX/v2ex/branches{/branch}","tags_url":"https://api.github.com/repos/XVXVXXX/v2ex/tags","blobs_url":"https://api.github.com/repos/XVXVXXX/v2ex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XVXVXXX/v2ex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XVXVXXX/v2ex/git/refs{/sha}","trees_url":"https://api.github.com/repos/XVXVXXX/v2ex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XVXVXXX/v2ex/statuses/{sha}","languages_url":"https://api.github.com/repos/XVXVXXX/v2ex/languages","stargazers_url":"https://api.github.com/repos/XVXVXXX/v2ex/stargazers","contributors_url":"https://api.github.com/repos/XVXVXXX/v2ex/contributors","subscribers_url":"https://api.github.com/repos/XVXVXXX/v2ex/subscribers","subscription_url":"https://api.github.com/repos/XVXVXXX/v2ex/subscription","commits_url":"https://api.github.com/repos/XVXVXXX/v2ex/commits{/sha}","git_commits_url":"https://api.github.com/repos/XVXVXXX/v2ex/git/commits{/sha}","comments_url":"https://api.github.com/repos/XVXVXXX/v2ex/comments{/number}","issue_comment_url":"https://api.github.com/repos/XVXVXXX/v2ex/issues/comments{/number}","contents_url":"https://api.github.com/repos/XVXVXXX/v2ex/contents/{+path}","compare_url":"https://api.github.com/repos/XVXVXXX/v2ex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XVXVXXX/v2ex/merges","archive_url":"https://api.github.com/repos/XVXVXXX/v2ex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XVXVXXX/v2ex/downloads","issues_url":"https://api.github.com/repos/XVXVXXX/v2ex/issues{/number}","pulls_url":"https://api.github.com/repos/XVXVXXX/v2ex/pulls{/number}","milestones_url":"https://api.github.com/repos/XVXVXXX/v2ex/milestones{/number}","notifications_url":"https://api.github.com/repos/XVXVXXX/v2ex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XVXVXXX/v2ex/labels{/name}","releases_url":"https://api.github.com/repos/XVXVXXX/v2ex/releases{/id}","created_at":"2015-09-24T01:28:46Z","updated_at":"2015-09-24T01:28:48Z","pushed_at":"2015-09-24T13:21:01Z","git_url":"git://github.com/XVXVXXX/v2ex.git","ssh_url":"git@github.com:XVXVXXX/v2ex.git","clone_url":"https://github.com/XVXVXXX/v2ex.git","svn_url":"https://github.com/XVXVXXX/v2ex","homepage":"","size":16489,"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":"singro:master","ref":"master","sha":"8650ccb3b93ed382be5299bd8bc88be6b32d745c","user":{"login":"singro","id":1289757,"avatar_url":"https://avatars.githubusercontent.com/u/1289757?v=3","gravatar_id":"","url":"https://api.github.com/users/singro","html_url":"https://github.com/singro","followers_url":"https://api.github.com/users/singro/followers","following_url":"https://api.github.com/users/singro/following{/other_user}","gists_url":"https://api.github.com/users/singro/gists{/gist_id}","starred_url":"https://api.github.com/users/singro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singro/subscriptions","organizations_url":"https://api.github.com/users/singro/orgs","repos_url":"https://api.github.com/users/singro/repos","events_url":"https://api.github.com/users/singro/events{/privacy}","received_events_url":"https://api.github.com/users/singro/received_events","type":"User","site_admin":false},"repo":{"id":18164221,"name":"v2ex","full_name":"singro/v2ex","owner":{"login":"singro","id":1289757,"avatar_url":"https://avatars.githubusercontent.com/u/1289757?v=3","gravatar_id":"","url":"https://api.github.com/users/singro","html_url":"https://github.com/singro","followers_url":"https://api.github.com/users/singro/followers","following_url":"https://api.github.com/users/singro/following{/other_user}","gists_url":"https://api.github.com/users/singro/gists{/gist_id}","starred_url":"https://api.github.com/users/singro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singro/subscriptions","organizations_url":"https://api.github.com/users/singro/orgs","repos_url":"https://api.github.com/users/singro/repos","events_url":"https://api.github.com/users/singro/events{/privacy}","received_events_url":"https://api.github.com/users/singro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/singro/v2ex","description":"An iOS client for v2ex.com","fork":false,"url":"https://api.github.com/repos/singro/v2ex","forks_url":"https://api.github.com/repos/singro/v2ex/forks","keys_url":"https://api.github.com/repos/singro/v2ex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/singro/v2ex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/singro/v2ex/teams","hooks_url":"https://api.github.com/repos/singro/v2ex/hooks","issue_events_url":"https://api.github.com/repos/singro/v2ex/issues/events{/number}","events_url":"https://api.github.com/repos/singro/v2ex/events","assignees_url":"https://api.github.com/repos/singro/v2ex/assignees{/user}","branches_url":"https://api.github.com/repos/singro/v2ex/branches{/branch}","tags_url":"https://api.github.com/repos/singro/v2ex/tags","blobs_url":"https://api.github.com/repos/singro/v2ex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/singro/v2ex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/singro/v2ex/git/refs{/sha}","trees_url":"https://api.github.com/repos/singro/v2ex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/singro/v2ex/statuses/{sha}","languages_url":"https://api.github.com/repos/singro/v2ex/languages","stargazers_url":"https://api.github.com/repos/singro/v2ex/stargazers","contributors_url":"https://api.github.com/repos/singro/v2ex/contributors","subscribers_url":"https://api.github.com/repos/singro/v2ex/subscribers","subscription_url":"https://api.github.com/repos/singro/v2ex/subscription","commits_url":"https://api.github.com/repos/singro/v2ex/commits{/sha}","git_commits_url":"https://api.github.com/repos/singro/v2ex/git/commits{/sha}","comments_url":"https://api.github.com/repos/singro/v2ex/comments{/number}","issue_comment_url":"https://api.github.com/repos/singro/v2ex/issues/comments{/number}","contents_url":"https://api.github.com/repos/singro/v2ex/contents/{+path}","compare_url":"https://api.github.com/repos/singro/v2ex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/singro/v2ex/merges","archive_url":"https://api.github.com/repos/singro/v2ex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/singro/v2ex/downloads","issues_url":"https://api.github.com/repos/singro/v2ex/issues{/number}","pulls_url":"https://api.github.com/repos/singro/v2ex/pulls{/number}","milestones_url":"https://api.github.com/repos/singro/v2ex/milestones{/number}","notifications_url":"https://api.github.com/repos/singro/v2ex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/singro/v2ex/labels{/name}","releases_url":"https://api.github.com/repos/singro/v2ex/releases{/id}","created_at":"2014-03-27T04:17:57Z","updated_at":"2015-09-24T11:32:36Z","pushed_at":"2015-09-18T16:48:22Z","git_url":"git://github.com/singro/v2ex.git","ssh_url":"git@github.com:singro/v2ex.git","clone_url":"https://github.com/singro/v2ex.git","svn_url":"https://github.com/singro/v2ex","homepage":"","size":16489,"stargazers_count":985,"watchers_count":985,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":242,"mirror_url":null,"open_issues_count":11,"forks":242,"open_issues":11,"watchers":985,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/singro/v2ex/pulls/21"},"html":{"href":"https://github.com/singro/v2ex/pull/21"},"issue":{"href":"https://api.github.com/repos/singro/v2ex/issues/21"},"comments":{"href":"https://api.github.com/repos/singro/v2ex/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/singro/v2ex/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/singro/v2ex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/singro/v2ex/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/singro/v2ex/statuses/ca19502b6087d4f0ed3439ae53b3ae8da6fc0078"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":38,"changed_files":1}}