{"action":"created","comment":{"url":"https://api.github.com/repos/ML-Works/NCController/pulls/comments/57514194","id":57514194,"diff_hunk":"@@ -10,38 +10,51 @@\n \n @interface MLWNCController ()\n \n-@property (strong, nonatomic) NSMutableArray *observers;\n+@property (strong, nonatomic) NSMutableDictionary<NSString*, id>* observers;\n \n @end\n \n @implementation MLWNCController\n \n-- (NSMutableArray *)observers {\n+- (NSMutableDictionary*)observers\n+{\n     if (_observers == nil) {\n-        _observers = [NSMutableArray array];\n+        _observers = [NSMutableDictionary new];\n     }\n     return _observers;\n }\n \n-+ (instancetype)controller {\n++ (instancetype)controller\n+{\n     return [[self alloc] init];\n }\n \n-- (void)dealloc {\n+- (void)dealloc\n+{\n     [self removeAllObservers];\n }\n \n-- (void)addObserverForName:(NSString *)name\n+- (void)addObserverForName:(NSString*)name","path":"Pod/Classes/MLWNCController.m","position":34,"original_position":34,"commit_id":"94811f840bd5b310cc9561e121c1be7a14ec52c0","original_commit_id":"94811f840bd5b310cc9561e121c1be7a14ec52c0","user":{"login":"k06a","id":702124,"avatar_url":"https://avatars.githubusercontent.com/u/702124?v=3","gravatar_id":"","url":"https://api.github.com/users/k06a","html_url":"https://github.com/k06a","followers_url":"https://api.github.com/users/k06a/followers","following_url":"https://api.github.com/users/k06a/following{/other_user}","gists_url":"https://api.github.com/users/k06a/gists{/gist_id}","starred_url":"https://api.github.com/users/k06a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k06a/subscriptions","organizations_url":"https://api.github.com/users/k06a/orgs","repos_url":"https://api.github.com/users/k06a/repos","events_url":"https://api.github.com/users/k06a/events{/privacy}","received_events_url":"https://api.github.com/users/k06a/received_events","type":"User","site_admin":false},"body":"Missing space","created_at":"2016-03-26T14:28:58Z","updated_at":"2016-03-26T14:28:58Z","html_url":"https://github.com/ML-Works/NCController/pull/1#discussion_r57514194","pull_request_url":"https://api.github.com/repos/ML-Works/NCController/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/comments/57514194"},"html":{"href":"https://github.com/ML-Works/NCController/pull/1#discussion_r57514194"},"pull_request":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ML-Works/NCController/pulls/1","id":64239302,"html_url":"https://github.com/ML-Works/NCController/pull/1","diff_url":"https://github.com/ML-Works/NCController/pull/1.diff","patch_url":"https://github.com/ML-Works/NCController/pull/1.patch","issue_url":"https://api.github.com/repos/ML-Works/NCController/issues/1","number":1,"state":"open","locked":false,"title":"Add removeObserverForName: method","user":{"login":"vdugnist","id":8555000,"avatar_url":"https://avatars.githubusercontent.com/u/8555000?v=3","gravatar_id":"","url":"https://api.github.com/users/vdugnist","html_url":"https://github.com/vdugnist","followers_url":"https://api.github.com/users/vdugnist/followers","following_url":"https://api.github.com/users/vdugnist/following{/other_user}","gists_url":"https://api.github.com/users/vdugnist/gists{/gist_id}","starred_url":"https://api.github.com/users/vdugnist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdugnist/subscriptions","organizations_url":"https://api.github.com/users/vdugnist/orgs","repos_url":"https://api.github.com/users/vdugnist/repos","events_url":"https://api.github.com/users/vdugnist/events{/privacy}","received_events_url":"https://api.github.com/users/vdugnist/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-26T14:27:07Z","updated_at":"2016-03-26T14:28:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18296e40c992626e3848b0a4a23fef6675240e77","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ML-Works/NCController/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ML-Works/NCController/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ML-Works/NCController/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ML-Works/NCController/issues/1/comments","statuses_url":"https://api.github.com/repos/ML-Works/NCController/statuses/94811f840bd5b310cc9561e121c1be7a14ec52c0","head":{"label":"ML-Works:feature/nc_remove_observer_for_name","ref":"feature/nc_remove_observer_for_name","sha":"94811f840bd5b310cc9561e121c1be7a14ec52c0","user":{"login":"ML-Works","id":13682406,"avatar_url":"https://avatars.githubusercontent.com/u/13682406?v=3","gravatar_id":"","url":"https://api.github.com/users/ML-Works","html_url":"https://github.com/ML-Works","followers_url":"https://api.github.com/users/ML-Works/followers","following_url":"https://api.github.com/users/ML-Works/following{/other_user}","gists_url":"https://api.github.com/users/ML-Works/gists{/gist_id}","starred_url":"https://api.github.com/users/ML-Works/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ML-Works/subscriptions","organizations_url":"https://api.github.com/users/ML-Works/orgs","repos_url":"https://api.github.com/users/ML-Works/repos","events_url":"https://api.github.com/users/ML-Works/events{/privacy}","received_events_url":"https://api.github.com/users/ML-Works/received_events","type":"Organization","site_admin":false},"repo":{"id":52587123,"name":"NCController","full_name":"ML-Works/NCController","owner":{"login":"ML-Works","id":13682406,"avatar_url":"https://avatars.githubusercontent.com/u/13682406?v=3","gravatar_id":"","url":"https://api.github.com/users/ML-Works","html_url":"https://github.com/ML-Works","followers_url":"https://api.github.com/users/ML-Works/followers","following_url":"https://api.github.com/users/ML-Works/following{/other_user}","gists_url":"https://api.github.com/users/ML-Works/gists{/gist_id}","starred_url":"https://api.github.com/users/ML-Works/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ML-Works/subscriptions","organizations_url":"https://api.github.com/users/ML-Works/orgs","repos_url":"https://api.github.com/users/ML-Works/repos","events_url":"https://api.github.com/users/ML-Works/events{/privacy}","received_events_url":"https://api.github.com/users/ML-Works/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ML-Works/NCController","description":"NSNotificationCenter controller based on idea of Facebook KVOController","fork":false,"url":"https://api.github.com/repos/ML-Works/NCController","forks_url":"https://api.github.com/repos/ML-Works/NCController/forks","keys_url":"https://api.github.com/repos/ML-Works/NCController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ML-Works/NCController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ML-Works/NCController/teams","hooks_url":"https://api.github.com/repos/ML-Works/NCController/hooks","issue_events_url":"https://api.github.com/repos/ML-Works/NCController/issues/events{/number}","events_url":"https://api.github.com/repos/ML-Works/NCController/events","assignees_url":"https://api.github.com/repos/ML-Works/NCController/assignees{/user}","branches_url":"https://api.github.com/repos/ML-Works/NCController/branches{/branch}","tags_url":"https://api.github.com/repos/ML-Works/NCController/tags","blobs_url":"https://api.github.com/repos/ML-Works/NCController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ML-Works/NCController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ML-Works/NCController/git/refs{/sha}","trees_url":"https://api.github.com/repos/ML-Works/NCController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ML-Works/NCController/statuses/{sha}","languages_url":"https://api.github.com/repos/ML-Works/NCController/languages","stargazers_url":"https://api.github.com/repos/ML-Works/NCController/stargazers","contributors_url":"https://api.github.com/repos/ML-Works/NCController/contributors","subscribers_url":"https://api.github.com/repos/ML-Works/NCController/subscribers","subscription_url":"https://api.github.com/repos/ML-Works/NCController/subscription","commits_url":"https://api.github.com/repos/ML-Works/NCController/commits{/sha}","git_commits_url":"https://api.github.com/repos/ML-Works/NCController/git/commits{/sha}","comments_url":"https://api.github.com/repos/ML-Works/NCController/comments{/number}","issue_comment_url":"https://api.github.com/repos/ML-Works/NCController/issues/comments{/number}","contents_url":"https://api.github.com/repos/ML-Works/NCController/contents/{+path}","compare_url":"https://api.github.com/repos/ML-Works/NCController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ML-Works/NCController/merges","archive_url":"https://api.github.com/repos/ML-Works/NCController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ML-Works/NCController/downloads","issues_url":"https://api.github.com/repos/ML-Works/NCController/issues{/number}","pulls_url":"https://api.github.com/repos/ML-Works/NCController/pulls{/number}","milestones_url":"https://api.github.com/repos/ML-Works/NCController/milestones{/number}","notifications_url":"https://api.github.com/repos/ML-Works/NCController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ML-Works/NCController/labels{/name}","releases_url":"https://api.github.com/repos/ML-Works/NCController/releases{/id}","deployments_url":"https://api.github.com/repos/ML-Works/NCController/deployments","created_at":"2016-02-26T07:35:32Z","updated_at":"2016-02-29T13:27:47Z","pushed_at":"2016-03-26T14:27:08Z","git_url":"git://github.com/ML-Works/NCController.git","ssh_url":"git@github.com:ML-Works/NCController.git","clone_url":"https://github.com/ML-Works/NCController.git","svn_url":"https://github.com/ML-Works/NCController","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":0,"default_branch":"master"}},"base":{"label":"ML-Works:master","ref":"master","sha":"8e4d8b3c453100b00005edfda09e0d3e0abf6475","user":{"login":"ML-Works","id":13682406,"avatar_url":"https://avatars.githubusercontent.com/u/13682406?v=3","gravatar_id":"","url":"https://api.github.com/users/ML-Works","html_url":"https://github.com/ML-Works","followers_url":"https://api.github.com/users/ML-Works/followers","following_url":"https://api.github.com/users/ML-Works/following{/other_user}","gists_url":"https://api.github.com/users/ML-Works/gists{/gist_id}","starred_url":"https://api.github.com/users/ML-Works/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ML-Works/subscriptions","organizations_url":"https://api.github.com/users/ML-Works/orgs","repos_url":"https://api.github.com/users/ML-Works/repos","events_url":"https://api.github.com/users/ML-Works/events{/privacy}","received_events_url":"https://api.github.com/users/ML-Works/received_events","type":"Organization","site_admin":false},"repo":{"id":52587123,"name":"NCController","full_name":"ML-Works/NCController","owner":{"login":"ML-Works","id":13682406,"avatar_url":"https://avatars.githubusercontent.com/u/13682406?v=3","gravatar_id":"","url":"https://api.github.com/users/ML-Works","html_url":"https://github.com/ML-Works","followers_url":"https://api.github.com/users/ML-Works/followers","following_url":"https://api.github.com/users/ML-Works/following{/other_user}","gists_url":"https://api.github.com/users/ML-Works/gists{/gist_id}","starred_url":"https://api.github.com/users/ML-Works/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ML-Works/subscriptions","organizations_url":"https://api.github.com/users/ML-Works/orgs","repos_url":"https://api.github.com/users/ML-Works/repos","events_url":"https://api.github.com/users/ML-Works/events{/privacy}","received_events_url":"https://api.github.com/users/ML-Works/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ML-Works/NCController","description":"NSNotificationCenter controller based on idea of Facebook KVOController","fork":false,"url":"https://api.github.com/repos/ML-Works/NCController","forks_url":"https://api.github.com/repos/ML-Works/NCController/forks","keys_url":"https://api.github.com/repos/ML-Works/NCController/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ML-Works/NCController/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ML-Works/NCController/teams","hooks_url":"https://api.github.com/repos/ML-Works/NCController/hooks","issue_events_url":"https://api.github.com/repos/ML-Works/NCController/issues/events{/number}","events_url":"https://api.github.com/repos/ML-Works/NCController/events","assignees_url":"https://api.github.com/repos/ML-Works/NCController/assignees{/user}","branches_url":"https://api.github.com/repos/ML-Works/NCController/branches{/branch}","tags_url":"https://api.github.com/repos/ML-Works/NCController/tags","blobs_url":"https://api.github.com/repos/ML-Works/NCController/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ML-Works/NCController/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ML-Works/NCController/git/refs{/sha}","trees_url":"https://api.github.com/repos/ML-Works/NCController/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ML-Works/NCController/statuses/{sha}","languages_url":"https://api.github.com/repos/ML-Works/NCController/languages","stargazers_url":"https://api.github.com/repos/ML-Works/NCController/stargazers","contributors_url":"https://api.github.com/repos/ML-Works/NCController/contributors","subscribers_url":"https://api.github.com/repos/ML-Works/NCController/subscribers","subscription_url":"https://api.github.com/repos/ML-Works/NCController/subscription","commits_url":"https://api.github.com/repos/ML-Works/NCController/commits{/sha}","git_commits_url":"https://api.github.com/repos/ML-Works/NCController/git/commits{/sha}","comments_url":"https://api.github.com/repos/ML-Works/NCController/comments{/number}","issue_comment_url":"https://api.github.com/repos/ML-Works/NCController/issues/comments{/number}","contents_url":"https://api.github.com/repos/ML-Works/NCController/contents/{+path}","compare_url":"https://api.github.com/repos/ML-Works/NCController/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ML-Works/NCController/merges","archive_url":"https://api.github.com/repos/ML-Works/NCController/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ML-Works/NCController/downloads","issues_url":"https://api.github.com/repos/ML-Works/NCController/issues{/number}","pulls_url":"https://api.github.com/repos/ML-Works/NCController/pulls{/number}","milestones_url":"https://api.github.com/repos/ML-Works/NCController/milestones{/number}","notifications_url":"https://api.github.com/repos/ML-Works/NCController/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ML-Works/NCController/labels{/name}","releases_url":"https://api.github.com/repos/ML-Works/NCController/releases{/id}","deployments_url":"https://api.github.com/repos/ML-Works/NCController/deployments","created_at":"2016-02-26T07:35:32Z","updated_at":"2016-02-29T13:27:47Z","pushed_at":"2016-03-26T14:27:08Z","git_url":"git://github.com/ML-Works/NCController.git","ssh_url":"git@github.com:ML-Works/NCController.git","clone_url":"https://github.com/ML-Works/NCController.git","svn_url":"https://github.com/ML-Works/NCController","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/1"},"html":{"href":"https://github.com/ML-Works/NCController/pull/1"},"issue":{"href":"https://api.github.com/repos/ML-Works/NCController/issues/1"},"comments":{"href":"https://api.github.com/repos/ML-Works/NCController/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ML-Works/NCController/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ML-Works/NCController/statuses/94811f840bd5b310cc9561e121c1be7a14ec52c0"}}}}