GitHub PullRequestReviewCommentEvent at 2014-07-30 01:51:06
Repository: FoodCatch
Actor: rogerKlab
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/keithong/FoodCatch/pulls/comments/15563510","id":15563510,"diff_hunk":"@@ -0,0 +1,17 @@\n+//\n+//  GameModel.h\n+//  FoodCatch\n+//\n+//  Created by Keith Samson on 7/25/14.\n+//  Copyright (c) 2014 Keith Samson. All rights reserved.\n+//\n+\n+#import <Foundation/Foundation.h>\n+\n+@interface GameModel : NSObject\n+@property (nonatomic) int playerScore;\n+@property (nonatomic) int playerLife;\n+-(id)initWithScore:(int)score life:(int)life;","path":"FoodCatch/GameModel.h","position":14,"original_position":14,"commit_id":"51b739d6538aba337f3e996d61f9c8537f8ee6a1","original_commit_id":"51b739d6538aba337f3e996d61f9c8537f8ee6a1","user":{"login":"rogerKlab","id":2919821,"avatar_url":"https://avatars.githubusercontent.com/u/2919821?v=1","gravatar_id":"8d95d57b86d77dc8eb2a6fa2e212faca","url":"https://api.github.com/users/rogerKlab","html_url":"https://github.com/rogerKlab","followers_url":"https://api.github.com/users/rogerKlab/followers","following_url":"https://api.github.com/users/rogerKlab/following{/other_user}","gists_url":"https://api.github.com/users/rogerKlab/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerKlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerKlab/subscriptions","organizations_url":"https://api.github.com/users/rogerKlab/orgs","repos_url":"https://api.github.com/users/rogerKlab/repos","events_url":"https://api.github.com/users/rogerKlab/events{/privacy}","received_events_url":"https://api.github.com/users/rogerKlab/received_events","type":"User","site_admin":false},"body":"Apple recommended to use \"NSInteger\" for a function return value or for a function argument instead of \"int\" because in this case datatype size matters. In 32 bit systems \"int\" is just an int, while on a 64-bit system \"int\" it's a long, example of 64 bit systems is iphone5s.\r\n\r\nApple uses \"int\" because for a loop control variable, int datatype is fine, both in datatype size and in the values it can hold for your loop. No need for platform dependent datatype here.","created_at":"2014-07-30T01:51:06Z","updated_at":"2014-07-30T01:51:06Z","html_url":"https://github.com/keithong/FoodCatch/pull/1#discussion_r15563510","pull_request_url":"https://api.github.com/repos/keithong/FoodCatch/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/comments/15563510"},"html":{"href":"https://github.com/keithong/FoodCatch/pull/1#discussion_r15563510"},"pull_request":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/keithong/FoodCatch/pulls/1","id":18950371,"html_url":"https://github.com/keithong/FoodCatch/pull/1","diff_url":"https://github.com/keithong/FoodCatch/pull/1.diff","patch_url":"https://github.com/keithong/FoodCatch/pull/1.patch","issue_url":"https://api.github.com/repos/keithong/FoodCatch/issues/1","number":1,"state":"open","title":"Project Course Pull Request","user":{"login":"keithong","id":7731204,"avatar_url":"https://avatars.githubusercontent.com/u/7731204?v=1","gravatar_id":"ad6b200edb4dc87f3d5dc00fcf4a6f04","url":"https://api.github.com/users/keithong","html_url":"https://github.com/keithong","followers_url":"https://api.github.com/users/keithong/followers","following_url":"https://api.github.com/users/keithong/following{/other_user}","gists_url":"https://api.github.com/users/keithong/gists{/gist_id}","starred_url":"https://api.github.com/users/keithong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithong/subscriptions","organizations_url":"https://api.github.com/users/keithong/orgs","repos_url":"https://api.github.com/users/keithong/repos","events_url":"https://api.github.com/users/keithong/events{/privacy}","received_events_url":"https://api.github.com/users/keithong/received_events","type":"User","site_admin":false},"body":"Refer to FoodCatch folder.","created_at":"2014-07-28T05:32:26Z","updated_at":"2014-07-30T01:51:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94647eb9ba0897c729296e01e368ef5c9658e0fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keithong/FoodCatch/pulls/1/commits","review_comments_url":"https://api.github.com/repos/keithong/FoodCatch/pulls/1/comments","review_comment_url":"https://api.github.com/repos/keithong/FoodCatch/pulls/comments/{number}","comments_url":"https://api.github.com/repos/keithong/FoodCatch/issues/1/comments","statuses_url":"https://api.github.com/repos/keithong/FoodCatch/statuses/51b739d6538aba337f3e996d61f9c8537f8ee6a1","head":{"label":"keithong:dev_1.0","ref":"dev_1.0","sha":"51b739d6538aba337f3e996d61f9c8537f8ee6a1","user":{"login":"keithong","id":7731204,"avatar_url":"https://avatars.githubusercontent.com/u/7731204?v=1","gravatar_id":"ad6b200edb4dc87f3d5dc00fcf4a6f04","url":"https://api.github.com/users/keithong","html_url":"https://github.com/keithong","followers_url":"https://api.github.com/users/keithong/followers","following_url":"https://api.github.com/users/keithong/following{/other_user}","gists_url":"https://api.github.com/users/keithong/gists{/gist_id}","starred_url":"https://api.github.com/users/keithong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithong/subscriptions","organizations_url":"https://api.github.com/users/keithong/orgs","repos_url":"https://api.github.com/users/keithong/repos","events_url":"https://api.github.com/users/keithong/events{/privacy}","received_events_url":"https://api.github.com/users/keithong/received_events","type":"User","site_admin":false},"repo":{"id":21927872,"name":"FoodCatch","full_name":"keithong/FoodCatch","owner":{"login":"keithong","id":7731204,"avatar_url":"https://avatars.githubusercontent.com/u/7731204?v=1","gravatar_id":"ad6b200edb4dc87f3d5dc00fcf4a6f04","url":"https://api.github.com/users/keithong","html_url":"https://github.com/keithong","followers_url":"https://api.github.com/users/keithong/followers","following_url":"https://api.github.com/users/keithong/following{/other_user}","gists_url":"https://api.github.com/users/keithong/gists{/gist_id}","starred_url":"https://api.github.com/users/keithong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithong/subscriptions","organizations_url":"https://api.github.com/users/keithong/orgs","repos_url":"https://api.github.com/users/keithong/repos","events_url":"https://api.github.com/users/keithong/events{/privacy}","received_events_url":"https://api.github.com/users/keithong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keithong/FoodCatch","description":"","fork":false,"url":"https://api.github.com/repos/keithong/FoodCatch","forks_url":"https://api.github.com/repos/keithong/FoodCatch/forks","keys_url":"https://api.github.com/repos/keithong/FoodCatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keithong/FoodCatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keithong/FoodCatch/teams","hooks_url":"https://api.github.com/repos/keithong/FoodCatch/hooks","issue_events_url":"https://api.github.com/repos/keithong/FoodCatch/issues/events{/number}","events_url":"https://api.github.com/repos/keithong/FoodCatch/events","assignees_url":"https://api.github.com/repos/keithong/FoodCatch/assignees{/user}","branches_url":"https://api.github.com/repos/keithong/FoodCatch/branches{/branch}","tags_url":"https://api.github.com/repos/keithong/FoodCatch/tags","blobs_url":"https://api.github.com/repos/keithong/FoodCatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keithong/FoodCatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keithong/FoodCatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/keithong/FoodCatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keithong/FoodCatch/statuses/{sha}","languages_url":"https://api.github.com/repos/keithong/FoodCatch/languages","stargazers_url":"https://api.github.com/repos/keithong/FoodCatch/stargazers","contributors_url":"https://api.github.com/repos/keithong/FoodCatch/contributors","subscribers_url":"https://api.github.com/repos/keithong/FoodCatch/subscribers","subscription_url":"https://api.github.com/repos/keithong/FoodCatch/subscription","commits_url":"https://api.github.com/repos/keithong/FoodCatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/keithong/FoodCatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/keithong/FoodCatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/keithong/FoodCatch/issues/comments/{number}","contents_url":"https://api.github.com/repos/keithong/FoodCatch/contents/{+path}","compare_url":"https://api.github.com/repos/keithong/FoodCatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keithong/FoodCatch/merges","archive_url":"https://api.github.com/repos/keithong/FoodCatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keithong/FoodCatch/downloads","issues_url":"https://api.github.com/repos/keithong/FoodCatch/issues{/number}","pulls_url":"https://api.github.com/repos/keithong/FoodCatch/pulls{/number}","milestones_url":"https://api.github.com/repos/keithong/FoodCatch/milestones{/number}","notifications_url":"https://api.github.com/repos/keithong/FoodCatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keithong/FoodCatch/labels{/name}","releases_url":"https://api.github.com/repos/keithong/FoodCatch/releases{/id}","created_at":"2014-07-17T03:54:40Z","updated_at":"2014-07-17T03:56:43Z","pushed_at":"2014-07-30T00:29:17Z","git_url":"git://github.com/keithong/FoodCatch.git","ssh_url":"git@github.com:keithong/FoodCatch.git","clone_url":"https://github.com/keithong/FoodCatch.git","svn_url":"https://github.com/keithong/FoodCatch","homepage":null,"size":400,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"dev_1.0"}},"base":{"label":"keithong:master","ref":"master","sha":"439855722a6c5baba82e10e26872494b47eab287","user":{"login":"keithong","id":7731204,"avatar_url":"https://avatars.githubusercontent.com/u/7731204?v=1","gravatar_id":"ad6b200edb4dc87f3d5dc00fcf4a6f04","url":"https://api.github.com/users/keithong","html_url":"https://github.com/keithong","followers_url":"https://api.github.com/users/keithong/followers","following_url":"https://api.github.com/users/keithong/following{/other_user}","gists_url":"https://api.github.com/users/keithong/gists{/gist_id}","starred_url":"https://api.github.com/users/keithong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithong/subscriptions","organizations_url":"https://api.github.com/users/keithong/orgs","repos_url":"https://api.github.com/users/keithong/repos","events_url":"https://api.github.com/users/keithong/events{/privacy}","received_events_url":"https://api.github.com/users/keithong/received_events","type":"User","site_admin":false},"repo":{"id":21927872,"name":"FoodCatch","full_name":"keithong/FoodCatch","owner":{"login":"keithong","id":7731204,"avatar_url":"https://avatars.githubusercontent.com/u/7731204?v=1","gravatar_id":"ad6b200edb4dc87f3d5dc00fcf4a6f04","url":"https://api.github.com/users/keithong","html_url":"https://github.com/keithong","followers_url":"https://api.github.com/users/keithong/followers","following_url":"https://api.github.com/users/keithong/following{/other_user}","gists_url":"https://api.github.com/users/keithong/gists{/gist_id}","starred_url":"https://api.github.com/users/keithong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithong/subscriptions","organizations_url":"https://api.github.com/users/keithong/orgs","repos_url":"https://api.github.com/users/keithong/repos","events_url":"https://api.github.com/users/keithong/events{/privacy}","received_events_url":"https://api.github.com/users/keithong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keithong/FoodCatch","description":"","fork":false,"url":"https://api.github.com/repos/keithong/FoodCatch","forks_url":"https://api.github.com/repos/keithong/FoodCatch/forks","keys_url":"https://api.github.com/repos/keithong/FoodCatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keithong/FoodCatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keithong/FoodCatch/teams","hooks_url":"https://api.github.com/repos/keithong/FoodCatch/hooks","issue_events_url":"https://api.github.com/repos/keithong/FoodCatch/issues/events{/number}","events_url":"https://api.github.com/repos/keithong/FoodCatch/events","assignees_url":"https://api.github.com/repos/keithong/FoodCatch/assignees{/user}","branches_url":"https://api.github.com/repos/keithong/FoodCatch/branches{/branch}","tags_url":"https://api.github.com/repos/keithong/FoodCatch/tags","blobs_url":"https://api.github.com/repos/keithong/FoodCatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keithong/FoodCatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keithong/FoodCatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/keithong/FoodCatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keithong/FoodCatch/statuses/{sha}","languages_url":"https://api.github.com/repos/keithong/FoodCatch/languages","stargazers_url":"https://api.github.com/repos/keithong/FoodCatch/stargazers","contributors_url":"https://api.github.com/repos/keithong/FoodCatch/contributors","subscribers_url":"https://api.github.com/repos/keithong/FoodCatch/subscribers","subscription_url":"https://api.github.com/repos/keithong/FoodCatch/subscription","commits_url":"https://api.github.com/repos/keithong/FoodCatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/keithong/FoodCatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/keithong/FoodCatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/keithong/FoodCatch/issues/comments/{number}","contents_url":"https://api.github.com/repos/keithong/FoodCatch/contents/{+path}","compare_url":"https://api.github.com/repos/keithong/FoodCatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keithong/FoodCatch/merges","archive_url":"https://api.github.com/repos/keithong/FoodCatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keithong/FoodCatch/downloads","issues_url":"https://api.github.com/repos/keithong/FoodCatch/issues{/number}","pulls_url":"https://api.github.com/repos/keithong/FoodCatch/pulls{/number}","milestones_url":"https://api.github.com/repos/keithong/FoodCatch/milestones{/number}","notifications_url":"https://api.github.com/repos/keithong/FoodCatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keithong/FoodCatch/labels{/name}","releases_url":"https://api.github.com/repos/keithong/FoodCatch/releases{/id}","created_at":"2014-07-17T03:54:40Z","updated_at":"2014-07-17T03:56:43Z","pushed_at":"2014-07-30T00:29:17Z","git_url":"git://github.com/keithong/FoodCatch.git","ssh_url":"git@github.com:keithong/FoodCatch.git","clone_url":"https://github.com/keithong/FoodCatch.git","svn_url":"https://github.com/keithong/FoodCatch","homepage":null,"size":400,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"dev_1.0"}},"_links":{"self":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/1"},"html":{"href":"https://github.com/keithong/FoodCatch/pull/1"},"issue":{"href":"https://api.github.com/repos/keithong/FoodCatch/issues/1"},"comments":{"href":"https://api.github.com/repos/keithong/FoodCatch/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/keithong/FoodCatch/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/keithong/FoodCatch/statuses/51b739d6538aba337f3e996d61f9c8537f8ee6a1"}}}}