{"action":"created","comment":{"url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/comments/25340982","id":25340982,"diff_hunk":"@@ -0,0 +1,1004 @@\n+//\n+//  EcomapFetcher.m\n+//  EcomapFetcher\n+//\n+//  Created by Vasilii Kotsiuba on 2/3/15.\n+//  Copyright (c) 2015 Vasyl Kotsiuba. All rights reserved.\n+//\n+\n+#import \"EcomapFetcher.h\"\n+#import \"EcomapPathDefine.h\"\n+#import \"EcomapURLFetcher.h\"\n+#import \"EcomapProblem.h\"\n+#import \"EcomapProblemDetails.h\"\n+#import \"EcomapLoggedUser.h\"\n+#import \"EcomapPhoto.h\"\n+#import \"EcomapComments.h\"\n+#import \"EcomapResources.h\"\n+#import \"EcomapAlias.h\"\n+#import \"NetworkActivityIndicator.h\"\n+#import \"EMThumbnailImageStore.h\"\n+#import \"EcomapCommentsChild.h\"\n+\n+//Setup DDLog\n+#import \"GlobalLoggerLevel.h\"\n+\n+@import MobileCoreServices;\n+\n+\n+@implementation EcomapFetcher\n+\n+#pragma mark - Get all Problems\n++(void)loadAllProblemsOnCompletion:(void (^)(NSArray *problems, NSError *error))completionHandler\n+{\n+    [self dataTaskWithRequest:[NSURLRequest requestWithURL:[EcomapURLFetcher URLforAllProblems]]\n+             sessionConfiguration:[NSURLSessionConfiguration ephemeralSessionConfiguration]\n+                completionHandler:^(NSData *JSON, NSError *error) {\n+                    NSMutableArray *problems = nil;\n+                    NSArray *problemsFromJSON = nil;\n+                    if (error) {\n+                        DDLogVerbose(@\"%d\", abs(error.code / 100i));\n+                    }\n+                    if (!error) {","path":"ecomap/ecomap/Model/EcomapFetcher.m","position":42,"original_position":42,"commit_id":"225a139e2c7d0698fb8684ddec273ab9d5a9218e","original_commit_id":"225a139e2c7d0698fb8684ddec273ab9d5a9218e","user":{"login":"kashyrets","id":3074196,"avatar_url":"https://avatars.githubusercontent.com/u/3074196?v=3","gravatar_id":"","url":"https://api.github.com/users/kashyrets","html_url":"https://github.com/kashyrets","followers_url":"https://api.github.com/users/kashyrets/followers","following_url":"https://api.github.com/users/kashyrets/following{/other_user}","gists_url":"https://api.github.com/users/kashyrets/gists{/gist_id}","starred_url":"https://api.github.com/users/kashyrets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashyrets/subscriptions","organizations_url":"https://api.github.com/users/kashyrets/orgs","repos_url":"https://api.github.com/users/kashyrets/repos","events_url":"https://api.github.com/users/kashyrets/events{/privacy}","received_events_url":"https://api.github.com/users/kashyrets/received_events","type":"User","site_admin":false},"body":"Why? Just else","created_at":"2015-02-25T14:00:27Z","updated_at":"2015-02-25T14:00:27Z","html_url":"https://github.com/ITsvetkoFF/KV006/pull/13#discussion_r25340982","pull_request_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/comments/25340982"},"html":{"href":"https://github.com/ITsvetkoFF/KV006/pull/13#discussion_r25340982"},"pull_request":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13","id":29981707,"html_url":"https://github.com/ITsvetkoFF/KV006/pull/13","diff_url":"https://github.com/ITsvetkoFF/KV006/pull/13.diff","patch_url":"https://github.com/ITsvetkoFF/KV006/pull/13.patch","issue_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/13","number":13,"state":"open","locked":false,"title":"Review","user":{"login":"antonkovernik","id":2837642,"avatar_url":"https://avatars.githubusercontent.com/u/2837642?v=3","gravatar_id":"","url":"https://api.github.com/users/antonkovernik","html_url":"https://github.com/antonkovernik","followers_url":"https://api.github.com/users/antonkovernik/followers","following_url":"https://api.github.com/users/antonkovernik/following{/other_user}","gists_url":"https://api.github.com/users/antonkovernik/gists{/gist_id}","starred_url":"https://api.github.com/users/antonkovernik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonkovernik/subscriptions","organizations_url":"https://api.github.com/users/antonkovernik/orgs","repos_url":"https://api.github.com/users/antonkovernik/repos","events_url":"https://api.github.com/users/antonkovernik/events{/privacy}","received_events_url":"https://api.github.com/users/antonkovernik/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T12:07:11Z","updated_at":"2015-02-25T14:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6925198d7a869c22892d5f6eb0c79c768ad47aec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/13/comments","statuses_url":"https://api.github.com/repos/ITsvetkoFF/KV006/statuses/225a139e2c7d0698fb8684ddec273ab9d5a9218e","head":{"label":"ITsvetkoFF:master","ref":"master","sha":"225a139e2c7d0698fb8684ddec273ab9d5a9218e","user":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"repo":{"id":28034562,"name":"KV006","full_name":"ITsvetkoFF/KV006","owner":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ITsvetkoFF/KV006","description":"","fork":false,"url":"https://api.github.com/repos/ITsvetkoFF/KV006","forks_url":"https://api.github.com/repos/ITsvetkoFF/KV006/forks","keys_url":"https://api.github.com/repos/ITsvetkoFF/KV006/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ITsvetkoFF/KV006/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ITsvetkoFF/KV006/teams","hooks_url":"https://api.github.com/repos/ITsvetkoFF/KV006/hooks","issue_events_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/events{/number}","events_url":"https://api.github.com/repos/ITsvetkoFF/KV006/events","assignees_url":"https://api.github.com/repos/ITsvetkoFF/KV006/assignees{/user}","branches_url":"https://api.github.com/repos/ITsvetkoFF/KV006/branches{/branch}","tags_url":"https://api.github.com/repos/ITsvetkoFF/KV006/tags","blobs_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/refs{/sha}","trees_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ITsvetkoFF/KV006/statuses/{sha}","languages_url":"https://api.github.com/repos/ITsvetkoFF/KV006/languages","stargazers_url":"https://api.github.com/repos/ITsvetkoFF/KV006/stargazers","contributors_url":"https://api.github.com/repos/ITsvetkoFF/KV006/contributors","subscribers_url":"https://api.github.com/repos/ITsvetkoFF/KV006/subscribers","subscription_url":"https://api.github.com/repos/ITsvetkoFF/KV006/subscription","commits_url":"https://api.github.com/repos/ITsvetkoFF/KV006/commits{/sha}","git_commits_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/commits{/sha}","comments_url":"https://api.github.com/repos/ITsvetkoFF/KV006/comments{/number}","issue_comment_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/comments{/number}","contents_url":"https://api.github.com/repos/ITsvetkoFF/KV006/contents/{+path}","compare_url":"https://api.github.com/repos/ITsvetkoFF/KV006/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ITsvetkoFF/KV006/merges","archive_url":"https://api.github.com/repos/ITsvetkoFF/KV006/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ITsvetkoFF/KV006/downloads","issues_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues{/number}","pulls_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls{/number}","milestones_url":"https://api.github.com/repos/ITsvetkoFF/KV006/milestones{/number}","notifications_url":"https://api.github.com/repos/ITsvetkoFF/KV006/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ITsvetkoFF/KV006/labels{/name}","releases_url":"https://api.github.com/repos/ITsvetkoFF/KV006/releases{/id}","created_at":"2014-12-15T11:52:55Z","updated_at":"2015-02-25T13:05:17Z","pushed_at":"2015-02-25T13:05:17Z","git_url":"git://github.com/ITsvetkoFF/KV006.git","ssh_url":"git@github.com:ITsvetkoFF/KV006.git","clone_url":"https://github.com/ITsvetkoFF/KV006.git","svn_url":"https://github.com/ITsvetkoFF/KV006","homepage":null,"size":33052,"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":"develop"}},"base":{"label":"ITsvetkoFF:review","ref":"review","sha":"7511cfd617c270d0ec4f3aa770529936a2fc0b49","user":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"repo":{"id":28034562,"name":"KV006","full_name":"ITsvetkoFF/KV006","owner":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ITsvetkoFF/KV006","description":"","fork":false,"url":"https://api.github.com/repos/ITsvetkoFF/KV006","forks_url":"https://api.github.com/repos/ITsvetkoFF/KV006/forks","keys_url":"https://api.github.com/repos/ITsvetkoFF/KV006/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ITsvetkoFF/KV006/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ITsvetkoFF/KV006/teams","hooks_url":"https://api.github.com/repos/ITsvetkoFF/KV006/hooks","issue_events_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/events{/number}","events_url":"https://api.github.com/repos/ITsvetkoFF/KV006/events","assignees_url":"https://api.github.com/repos/ITsvetkoFF/KV006/assignees{/user}","branches_url":"https://api.github.com/repos/ITsvetkoFF/KV006/branches{/branch}","tags_url":"https://api.github.com/repos/ITsvetkoFF/KV006/tags","blobs_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/refs{/sha}","trees_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ITsvetkoFF/KV006/statuses/{sha}","languages_url":"https://api.github.com/repos/ITsvetkoFF/KV006/languages","stargazers_url":"https://api.github.com/repos/ITsvetkoFF/KV006/stargazers","contributors_url":"https://api.github.com/repos/ITsvetkoFF/KV006/contributors","subscribers_url":"https://api.github.com/repos/ITsvetkoFF/KV006/subscribers","subscription_url":"https://api.github.com/repos/ITsvetkoFF/KV006/subscription","commits_url":"https://api.github.com/repos/ITsvetkoFF/KV006/commits{/sha}","git_commits_url":"https://api.github.com/repos/ITsvetkoFF/KV006/git/commits{/sha}","comments_url":"https://api.github.com/repos/ITsvetkoFF/KV006/comments{/number}","issue_comment_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/comments{/number}","contents_url":"https://api.github.com/repos/ITsvetkoFF/KV006/contents/{+path}","compare_url":"https://api.github.com/repos/ITsvetkoFF/KV006/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ITsvetkoFF/KV006/merges","archive_url":"https://api.github.com/repos/ITsvetkoFF/KV006/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ITsvetkoFF/KV006/downloads","issues_url":"https://api.github.com/repos/ITsvetkoFF/KV006/issues{/number}","pulls_url":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls{/number}","milestones_url":"https://api.github.com/repos/ITsvetkoFF/KV006/milestones{/number}","notifications_url":"https://api.github.com/repos/ITsvetkoFF/KV006/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ITsvetkoFF/KV006/labels{/name}","releases_url":"https://api.github.com/repos/ITsvetkoFF/KV006/releases{/id}","created_at":"2014-12-15T11:52:55Z","updated_at":"2015-02-25T13:05:17Z","pushed_at":"2015-02-25T13:05:17Z","git_url":"git://github.com/ITsvetkoFF/KV006.git","ssh_url":"git@github.com:ITsvetkoFF/KV006.git","clone_url":"https://github.com/ITsvetkoFF/KV006.git","svn_url":"https://github.com/ITsvetkoFF/KV006","homepage":null,"size":33052,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13"},"html":{"href":"https://github.com/ITsvetkoFF/KV006/pull/13"},"issue":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/13"},"comments":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ITsvetkoFF/KV006/statuses/225a139e2c7d0698fb8684ddec273ab9d5a9218e"}}}}