{"action":"created","comment":{"url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/comments/69910316","id":69910316,"diff_hunk":"@@ -0,0 +1,13 @@\n+//\n+//  Eatable.h\n+//  LifeOfForest\n+//\n+//  Created by admin on 07/07/16.\n+//  Copyright © 2016 Saveliy. All rights reserved.\n+//\n+\n+@protocol Eatable <NSObject>\n+\n+- (int)giveCalories;","path":"LifeOfForest/Eatable.h","position":11,"original_position":11,"commit_id":"0714f4b9b4acbd07889ed32eaecfd06767e69826","original_commit_id":"0714f4b9b4acbd07889ed32eaecfd06767e69826","user":{"login":"vdemina","id":12150844,"avatar_url":"https://avatars.githubusercontent.com/u/12150844?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemina","html_url":"https://github.com/vdemina","followers_url":"https://api.github.com/users/vdemina/followers","following_url":"https://api.github.com/users/vdemina/following{/other_user}","gists_url":"https://api.github.com/users/vdemina/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemina/subscriptions","organizations_url":"https://api.github.com/users/vdemina/orgs","repos_url":"https://api.github.com/users/vdemina/repos","events_url":"https://api.github.com/users/vdemina/events{/privacy}","received_events_url":"https://api.github.com/users/vdemina/received_events","type":"User","site_admin":false},"body":"Название у метода не совсем правильное. Все-таки не give, а get. Но в Ojective-C обычно принято, когда метод возвращает какое-либо значение, опускать get. Т.е. нужно было написать - (int)сalories, а это уже @property (readonly) int сalories (только getter). Но если использовать такой способ, то нужно будет сделать кое-какие изменения в классах, реализующих протокол Eatable, относительно сalories.","created_at":"2016-07-07T13:56:17Z","updated_at":"2016-07-07T13:56:17Z","html_url":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14#discussion_r69910316","pull_request_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/comments/69910316"},"html":{"href":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14#discussion_r69910316"},"pull_request":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14","id":76572064,"html_url":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14","diff_url":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14.diff","patch_url":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14.patch","issue_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/14","number":14,"state":"open","locked":false,"title":"Forest life","user":{"login":"SaveliyLeontiev","id":20279190,"avatar_url":"https://avatars.githubusercontent.com/u/20279190?v=3","gravatar_id":"","url":"https://api.github.com/users/SaveliyLeontiev","html_url":"https://github.com/SaveliyLeontiev","followers_url":"https://api.github.com/users/SaveliyLeontiev/followers","following_url":"https://api.github.com/users/SaveliyLeontiev/following{/other_user}","gists_url":"https://api.github.com/users/SaveliyLeontiev/gists{/gist_id}","starred_url":"https://api.github.com/users/SaveliyLeontiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaveliyLeontiev/subscriptions","organizations_url":"https://api.github.com/users/SaveliyLeontiev/orgs","repos_url":"https://api.github.com/users/SaveliyLeontiev/repos","events_url":"https://api.github.com/users/SaveliyLeontiev/events{/privacy}","received_events_url":"https://api.github.com/users/SaveliyLeontiev/received_events","type":"User","site_admin":false},"body":"Simulation of life in forest","created_at":"2016-07-07T10:24:55Z","updated_at":"2016-07-07T13:56:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e5615d35808b2abb00cb5456f5770c23cf42cb4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14/commits","review_comments_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14/comments","review_comment_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/14/comments","statuses_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/statuses/0714f4b9b4acbd07889ed32eaecfd06767e69826","head":{"label":"SaveliyLeontiev:master","ref":"master","sha":"0714f4b9b4acbd07889ed32eaecfd06767e69826","user":{"login":"SaveliyLeontiev","id":20279190,"avatar_url":"https://avatars.githubusercontent.com/u/20279190?v=3","gravatar_id":"","url":"https://api.github.com/users/SaveliyLeontiev","html_url":"https://github.com/SaveliyLeontiev","followers_url":"https://api.github.com/users/SaveliyLeontiev/followers","following_url":"https://api.github.com/users/SaveliyLeontiev/following{/other_user}","gists_url":"https://api.github.com/users/SaveliyLeontiev/gists{/gist_id}","starred_url":"https://api.github.com/users/SaveliyLeontiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaveliyLeontiev/subscriptions","organizations_url":"https://api.github.com/users/SaveliyLeontiev/orgs","repos_url":"https://api.github.com/users/SaveliyLeontiev/repos","events_url":"https://api.github.com/users/SaveliyLeontiev/events{/privacy}","received_events_url":"https://api.github.com/users/SaveliyLeontiev/received_events","type":"User","site_admin":false},"repo":{"id":62786927,"name":"university-ios-assignment-1-2","full_name":"SaveliyLeontiev/university-ios-assignment-1-2","owner":{"login":"SaveliyLeontiev","id":20279190,"avatar_url":"https://avatars.githubusercontent.com/u/20279190?v=3","gravatar_id":"","url":"https://api.github.com/users/SaveliyLeontiev","html_url":"https://github.com/SaveliyLeontiev","followers_url":"https://api.github.com/users/SaveliyLeontiev/followers","following_url":"https://api.github.com/users/SaveliyLeontiev/following{/other_user}","gists_url":"https://api.github.com/users/SaveliyLeontiev/gists{/gist_id}","starred_url":"https://api.github.com/users/SaveliyLeontiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaveliyLeontiev/subscriptions","organizations_url":"https://api.github.com/users/SaveliyLeontiev/orgs","repos_url":"https://api.github.com/users/SaveliyLeontiev/repos","events_url":"https://api.github.com/users/SaveliyLeontiev/events{/privacy}","received_events_url":"https://api.github.com/users/SaveliyLeontiev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SaveliyLeontiev/university-ios-assignment-1-2","description":"university ios assignment 1-2","fork":true,"url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2","forks_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/forks","keys_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/teams","hooks_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/hooks","issue_events_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/issues/events{/number}","events_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/events","assignees_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/assignees{/user}","branches_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/branches{/branch}","tags_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/tags","blobs_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/statuses/{sha}","languages_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/languages","stargazers_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/stargazers","contributors_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/contributors","subscribers_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/subscribers","subscription_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/subscription","commits_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/contents/{+path}","compare_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/merges","archive_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/downloads","issues_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/issues{/number}","pulls_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/pulls{/number}","milestones_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/milestones{/number}","notifications_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/labels{/name}","releases_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/releases{/id}","deployments_url":"https://api.github.com/repos/SaveliyLeontiev/university-ios-assignment-1-2/deployments","created_at":"2016-07-07T07:58:42Z","updated_at":"2016-07-07T09:55:28Z","pushed_at":"2016-07-07T11:45:31Z","git_url":"git://github.com/SaveliyLeontiev/university-ios-assignment-1-2.git","ssh_url":"git@github.com:SaveliyLeontiev/university-ios-assignment-1-2.git","clone_url":"https://github.com/SaveliyLeontiev/university-ios-assignment-1-2.git","svn_url":"https://github.com/SaveliyLeontiev/university-ios-assignment-1-2","homepage":"http://noveogroup.ru/noveo-university/summer-study","size":34,"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":"noveogroup:master","ref":"master","sha":"8202a328aa50e38584643c7bd3f5394dfe83dd07","user":{"login":"noveogroup","id":3395790,"avatar_url":"https://avatars.githubusercontent.com/u/3395790?v=3","gravatar_id":"","url":"https://api.github.com/users/noveogroup","html_url":"https://github.com/noveogroup","followers_url":"https://api.github.com/users/noveogroup/followers","following_url":"https://api.github.com/users/noveogroup/following{/other_user}","gists_url":"https://api.github.com/users/noveogroup/gists{/gist_id}","starred_url":"https://api.github.com/users/noveogroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noveogroup/subscriptions","organizations_url":"https://api.github.com/users/noveogroup/orgs","repos_url":"https://api.github.com/users/noveogroup/repos","events_url":"https://api.github.com/users/noveogroup/events{/privacy}","received_events_url":"https://api.github.com/users/noveogroup/received_events","type":"Organization","site_admin":false},"repo":{"id":21823049,"name":"university-ios-assignment-1-2","full_name":"noveogroup/university-ios-assignment-1-2","owner":{"login":"noveogroup","id":3395790,"avatar_url":"https://avatars.githubusercontent.com/u/3395790?v=3","gravatar_id":"","url":"https://api.github.com/users/noveogroup","html_url":"https://github.com/noveogroup","followers_url":"https://api.github.com/users/noveogroup/followers","following_url":"https://api.github.com/users/noveogroup/following{/other_user}","gists_url":"https://api.github.com/users/noveogroup/gists{/gist_id}","starred_url":"https://api.github.com/users/noveogroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noveogroup/subscriptions","organizations_url":"https://api.github.com/users/noveogroup/orgs","repos_url":"https://api.github.com/users/noveogroup/repos","events_url":"https://api.github.com/users/noveogroup/events{/privacy}","received_events_url":"https://api.github.com/users/noveogroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/noveogroup/university-ios-assignment-1-2","description":"university ios assignment 1-2","fork":false,"url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2","forks_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/forks","keys_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/teams","hooks_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/hooks","issue_events_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/events{/number}","events_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/events","assignees_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/assignees{/user}","branches_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/branches{/branch}","tags_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/tags","blobs_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/statuses/{sha}","languages_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/languages","stargazers_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/stargazers","contributors_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/contributors","subscribers_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/subscribers","subscription_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/subscription","commits_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/contents/{+path}","compare_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/merges","archive_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/downloads","issues_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues{/number}","pulls_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls{/number}","milestones_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/milestones{/number}","notifications_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/labels{/name}","releases_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/releases{/id}","deployments_url":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/deployments","created_at":"2014-07-14T14:41:40Z","updated_at":"2016-07-06T09:32:47Z","pushed_at":"2016-07-07T11:45:31Z","git_url":"git://github.com/noveogroup/university-ios-assignment-1-2.git","ssh_url":"git@github.com:noveogroup/university-ios-assignment-1-2.git","clone_url":"https://github.com/noveogroup/university-ios-assignment-1-2.git","svn_url":"https://github.com/noveogroup/university-ios-assignment-1-2","homepage":"http://noveogroup.ru/noveo-university/summer-study","size":793,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":2,"forks":17,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14"},"html":{"href":"https://github.com/noveogroup/university-ios-assignment-1-2/pull/14"},"issue":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/14"},"comments":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/noveogroup/university-ios-assignment-1-2/statuses/0714f4b9b4acbd07889ed32eaecfd06767e69826"}}}}
{"actor":{"display_login":"vdemina"}}