{"action":"created","comment":{"url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/comments/28801961","id":28801961,"diff_hunk":"@@ -444,6 +445,24 @@ Note: For modules use the [@import](http://clang.llvm.org/docs/Modules.html#usin\n #import \"NYTUserView.h\"\n ```\n \n+## Protocols\n+\n+In a [delegate or data source protocol](https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaEncyclopedia/DelegatesandDataSources/DelegatesandDataSources.html), the first parameter to each method should be the object sending the message.\n+\n+This aids in disambiguating in case an object is the delegate for multiple similarly-typed objects, and it helps clarify intent to readers of a class implementing these delegate methods.","path":"README.md","position":16,"original_position":16,"commit_id":"84aad2f920a6fa23590efec3cb619033f391e78f","original_commit_id":"84aad2f920a6fa23590efec3cb619033f391e78f","user":{"login":"paulbruneau","id":978400,"avatar_url":"https://avatars.githubusercontent.com/u/978400?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbruneau","html_url":"https://github.com/paulbruneau","followers_url":"https://api.github.com/users/paulbruneau/followers","following_url":"https://api.github.com/users/paulbruneau/following{/other_user}","gists_url":"https://api.github.com/users/paulbruneau/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbruneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbruneau/subscriptions","organizations_url":"https://api.github.com/users/paulbruneau/orgs","repos_url":"https://api.github.com/users/paulbruneau/repos","events_url":"https://api.github.com/users/paulbruneau/events{/privacy}","received_events_url":"https://api.github.com/users/paulbruneau/received_events","type":"User","site_admin":false},"body":"I think your correction is still a little strange :)","created_at":"2015-04-21T17:31:32Z","updated_at":"2015-04-21T17:31:32Z","html_url":"https://github.com/NYTimes/objective-c-style-guide/pull/115#discussion_r28801961","pull_request_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/comments/28801961"},"html":{"href":"https://github.com/NYTimes/objective-c-style-guide/pull/115#discussion_r28801961"},"pull_request":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115","id":33772840,"html_url":"https://github.com/NYTimes/objective-c-style-guide/pull/115","diff_url":"https://github.com/NYTimes/objective-c-style-guide/pull/115.diff","patch_url":"https://github.com/NYTimes/objective-c-style-guide/pull/115.patch","issue_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/115","number":115,"state":"open","locked":false,"title":"Add a section on protocols","user":{"login":"cdzombak","id":102904,"avatar_url":"https://avatars.githubusercontent.com/u/102904?v=3","gravatar_id":"","url":"https://api.github.com/users/cdzombak","html_url":"https://github.com/cdzombak","followers_url":"https://api.github.com/users/cdzombak/followers","following_url":"https://api.github.com/users/cdzombak/following{/other_user}","gists_url":"https://api.github.com/users/cdzombak/gists{/gist_id}","starred_url":"https://api.github.com/users/cdzombak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdzombak/subscriptions","organizations_url":"https://api.github.com/users/cdzombak/orgs","repos_url":"https://api.github.com/users/cdzombak/repos","events_url":"https://api.github.com/users/cdzombak/events{/privacy}","received_events_url":"https://api.github.com/users/cdzombak/received_events","type":"User","site_admin":false},"body":"closes #2\r\n\r\nThere’s not much detail in #2, but this PR should (hopefully!) non-controversially address the comments on that issue.","created_at":"2015-04-21T15:27:10Z","updated_at":"2015-04-21T17:31:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a787299d8b47fb4ae63de31643d329e48946ec20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115/commits","review_comments_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115/comments","review_comment_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/115/comments","statuses_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/statuses/84aad2f920a6fa23590efec3cb619033f391e78f","head":{"label":"NYTimes:cdz/2-protocols","ref":"cdz/2-protocols","sha":"84aad2f920a6fa23590efec3cb619033f391e78f","user":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"repo":{"id":11797828,"name":"objective-c-style-guide","full_name":"NYTimes/objective-c-style-guide","owner":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYTimes/objective-c-style-guide","description":"The Objective-C Style Guide used by The New York Times","fork":false,"url":"https://api.github.com/repos/NYTimes/objective-c-style-guide","forks_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/forks","keys_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/teams","hooks_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/hooks","issue_events_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/events","assignees_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/tags","blobs_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/languages","stargazers_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/stargazers","contributors_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/contributors","subscribers_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/subscribers","subscription_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/subscription","commits_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/merges","archive_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/downloads","issues_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/releases{/id}","created_at":"2013-07-31T18:21:46Z","updated_at":"2015-04-21T09:27:03Z","pushed_at":"2015-04-21T15:41:47Z","git_url":"git://github.com/NYTimes/objective-c-style-guide.git","ssh_url":"git@github.com:NYTimes/objective-c-style-guide.git","clone_url":"https://github.com/NYTimes/objective-c-style-guide.git","svn_url":"https://github.com/NYTimes/objective-c-style-guide","homepage":"http://open.blogs.nytimes.com/2013/08/01/objectively-stylish/","size":1139,"stargazers_count":3213,"watchers_count":3213,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":669,"mirror_url":null,"open_issues_count":26,"forks":669,"open_issues":26,"watchers":3213,"default_branch":"master"}},"base":{"label":"NYTimes:master","ref":"master","sha":"574c955e55c83230381a2e15850c1bfe5d0b0d82","user":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"repo":{"id":11797828,"name":"objective-c-style-guide","full_name":"NYTimes/objective-c-style-guide","owner":{"login":"NYTimes","id":221409,"avatar_url":"https://avatars.githubusercontent.com/u/221409?v=3","gravatar_id":"","url":"https://api.github.com/users/NYTimes","html_url":"https://github.com/NYTimes","followers_url":"https://api.github.com/users/NYTimes/followers","following_url":"https://api.github.com/users/NYTimes/following{/other_user}","gists_url":"https://api.github.com/users/NYTimes/gists{/gist_id}","starred_url":"https://api.github.com/users/NYTimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NYTimes/subscriptions","organizations_url":"https://api.github.com/users/NYTimes/orgs","repos_url":"https://api.github.com/users/NYTimes/repos","events_url":"https://api.github.com/users/NYTimes/events{/privacy}","received_events_url":"https://api.github.com/users/NYTimes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NYTimes/objective-c-style-guide","description":"The Objective-C Style Guide used by The New York Times","fork":false,"url":"https://api.github.com/repos/NYTimes/objective-c-style-guide","forks_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/forks","keys_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/teams","hooks_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/hooks","issue_events_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/events","assignees_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/tags","blobs_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/languages","stargazers_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/stargazers","contributors_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/contributors","subscribers_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/subscribers","subscription_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/subscription","commits_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/merges","archive_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/downloads","issues_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/NYTimes/objective-c-style-guide/releases{/id}","created_at":"2013-07-31T18:21:46Z","updated_at":"2015-04-21T09:27:03Z","pushed_at":"2015-04-21T15:41:47Z","git_url":"git://github.com/NYTimes/objective-c-style-guide.git","ssh_url":"git@github.com:NYTimes/objective-c-style-guide.git","clone_url":"https://github.com/NYTimes/objective-c-style-guide.git","svn_url":"https://github.com/NYTimes/objective-c-style-guide","homepage":"http://open.blogs.nytimes.com/2013/08/01/objectively-stylish/","size":1139,"stargazers_count":3213,"watchers_count":3213,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":669,"mirror_url":null,"open_issues_count":26,"forks":669,"open_issues":26,"watchers":3213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115"},"html":{"href":"https://github.com/NYTimes/objective-c-style-guide/pull/115"},"issue":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/115"},"comments":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/NYTimes/objective-c-style-guide/statuses/84aad2f920a6fa23590efec3cb619033f391e78f"}}}}