{"action":"created","comment":{"url":"https://api.github.com/repos/smQ93/core-data-training/pulls/comments/63156318","id":63156318,"diff_hunk":"@@ -154,7 +167,7 @@ extension MainViewController: UITableViewDataSource {\n     }\n     \n     func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\n-        return 4\n+        return 5","path":"CoreDataTraining/Code/ViewControllers/MainViewController.swift","position":41,"original_position":41,"commit_id":"1f0a0f2802c028b48371715a4d5e1bd67804c9f9","original_commit_id":"1f0a0f2802c028b48371715a4d5e1bd67804c9f9","user":{"login":"natalia-osa","id":1477880,"avatar_url":"https://avatars.githubusercontent.com/u/1477880?v=3","gravatar_id":"","url":"https://api.github.com/users/natalia-osa","html_url":"https://github.com/natalia-osa","followers_url":"https://api.github.com/users/natalia-osa/followers","following_url":"https://api.github.com/users/natalia-osa/following{/other_user}","gists_url":"https://api.github.com/users/natalia-osa/gists{/gist_id}","starred_url":"https://api.github.com/users/natalia-osa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natalia-osa/subscriptions","organizations_url":"https://api.github.com/users/natalia-osa/orgs","repos_url":"https://api.github.com/users/natalia-osa/repos","events_url":"https://api.github.com/users/natalia-osa/events{/privacy}","received_events_url":"https://api.github.com/users/natalia-osa/received_events","type":"User","site_admin":false},"body":"You have an enum, on which you set the rows value. Just simply use .Count here :).","created_at":"2016-05-13T09:32:18Z","updated_at":"2016-05-13T09:32:18Z","html_url":"https://github.com/smQ93/core-data-training/pull/3#discussion_r63156318","pull_request_url":"https://api.github.com/repos/smQ93/core-data-training/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/smQ93/core-data-training/pulls/comments/63156318"},"html":{"href":"https://github.com/smQ93/core-data-training/pull/3#discussion_r63156318"},"pull_request":{"href":"https://api.github.com/repos/smQ93/core-data-training/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/smQ93/core-data-training/pulls/3","id":69842357,"html_url":"https://github.com/smQ93/core-data-training/pull/3","diff_url":"https://github.com/smQ93/core-data-training/pull/3.diff","patch_url":"https://github.com/smQ93/core-data-training/pull/3.patch","issue_url":"https://api.github.com/repos/smQ93/core-data-training/issues/3","number":3,"state":"open","locked":false,"title":"Added background operations","user":{"login":"smQ93","id":19189902,"avatar_url":"https://avatars.githubusercontent.com/u/19189902?v=3","gravatar_id":"","url":"https://api.github.com/users/smQ93","html_url":"https://github.com/smQ93","followers_url":"https://api.github.com/users/smQ93/followers","following_url":"https://api.github.com/users/smQ93/following{/other_user}","gists_url":"https://api.github.com/users/smQ93/gists{/gist_id}","starred_url":"https://api.github.com/users/smQ93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smQ93/subscriptions","organizations_url":"https://api.github.com/users/smQ93/orgs","repos_url":"https://api.github.com/users/smQ93/repos","events_url":"https://api.github.com/users/smQ93/events{/privacy}","received_events_url":"https://api.github.com/users/smQ93/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-12T14:05:43Z","updated_at":"2016-05-13T09:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d5bca73c1037ed2bd3848b677ac5890ef489880","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smQ93/core-data-training/pulls/3/commits","review_comments_url":"https://api.github.com/repos/smQ93/core-data-training/pulls/3/comments","review_comment_url":"https://api.github.com/repos/smQ93/core-data-training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smQ93/core-data-training/issues/3/comments","statuses_url":"https://api.github.com/repos/smQ93/core-data-training/statuses/1f0a0f2802c028b48371715a4d5e1bd67804c9f9","head":{"label":"smQ93:background_operations","ref":"background_operations","sha":"1f0a0f2802c028b48371715a4d5e1bd67804c9f9","user":{"login":"smQ93","id":19189902,"avatar_url":"https://avatars.githubusercontent.com/u/19189902?v=3","gravatar_id":"","url":"https://api.github.com/users/smQ93","html_url":"https://github.com/smQ93","followers_url":"https://api.github.com/users/smQ93/followers","following_url":"https://api.github.com/users/smQ93/following{/other_user}","gists_url":"https://api.github.com/users/smQ93/gists{/gist_id}","starred_url":"https://api.github.com/users/smQ93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smQ93/subscriptions","organizations_url":"https://api.github.com/users/smQ93/orgs","repos_url":"https://api.github.com/users/smQ93/repos","events_url":"https://api.github.com/users/smQ93/events{/privacy}","received_events_url":"https://api.github.com/users/smQ93/received_events","type":"User","site_admin":false},"repo":{"id":58060764,"name":"core-data-training","full_name":"smQ93/core-data-training","owner":{"login":"smQ93","id":19189902,"avatar_url":"https://avatars.githubusercontent.com/u/19189902?v=3","gravatar_id":"","url":"https://api.github.com/users/smQ93","html_url":"https://github.com/smQ93","followers_url":"https://api.github.com/users/smQ93/followers","following_url":"https://api.github.com/users/smQ93/following{/other_user}","gists_url":"https://api.github.com/users/smQ93/gists{/gist_id}","starred_url":"https://api.github.com/users/smQ93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smQ93/subscriptions","organizations_url":"https://api.github.com/users/smQ93/orgs","repos_url":"https://api.github.com/users/smQ93/repos","events_url":"https://api.github.com/users/smQ93/events{/privacy}","received_events_url":"https://api.github.com/users/smQ93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smQ93/core-data-training","description":"","fork":false,"url":"https://api.github.com/repos/smQ93/core-data-training","forks_url":"https://api.github.com/repos/smQ93/core-data-training/forks","keys_url":"https://api.github.com/repos/smQ93/core-data-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smQ93/core-data-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smQ93/core-data-training/teams","hooks_url":"https://api.github.com/repos/smQ93/core-data-training/hooks","issue_events_url":"https://api.github.com/repos/smQ93/core-data-training/issues/events{/number}","events_url":"https://api.github.com/repos/smQ93/core-data-training/events","assignees_url":"https://api.github.com/repos/smQ93/core-data-training/assignees{/user}","branches_url":"https://api.github.com/repos/smQ93/core-data-training/branches{/branch}","tags_url":"https://api.github.com/repos/smQ93/core-data-training/tags","blobs_url":"https://api.github.com/repos/smQ93/core-data-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smQ93/core-data-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smQ93/core-data-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/smQ93/core-data-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smQ93/core-data-training/statuses/{sha}","languages_url":"https://api.github.com/repos/smQ93/core-data-training/languages","stargazers_url":"https://api.github.com/repos/smQ93/core-data-training/stargazers","contributors_url":"https://api.github.com/repos/smQ93/core-data-training/contributors","subscribers_url":"https://api.github.com/repos/smQ93/core-data-training/subscribers","subscription_url":"https://api.github.com/repos/smQ93/core-data-training/subscription","commits_url":"https://api.github.com/repos/smQ93/core-data-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/smQ93/core-data-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/smQ93/core-data-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/smQ93/core-data-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/smQ93/core-data-training/contents/{+path}","compare_url":"https://api.github.com/repos/smQ93/core-data-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smQ93/core-data-training/merges","archive_url":"https://api.github.com/repos/smQ93/core-data-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smQ93/core-data-training/downloads","issues_url":"https://api.github.com/repos/smQ93/core-data-training/issues{/number}","pulls_url":"https://api.github.com/repos/smQ93/core-data-training/pulls{/number}","milestones_url":"https://api.github.com/repos/smQ93/core-data-training/milestones{/number}","notifications_url":"https://api.github.com/repos/smQ93/core-data-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smQ93/core-data-training/labels{/name}","releases_url":"https://api.github.com/repos/smQ93/core-data-training/releases{/id}","deployments_url":"https://api.github.com/repos/smQ93/core-data-training/deployments","created_at":"2016-05-04T14:56:54Z","updated_at":"2016-05-04T15:11:46Z","pushed_at":"2016-05-13T09:21:42Z","git_url":"git://github.com/smQ93/core-data-training.git","ssh_url":"git@github.com:smQ93/core-data-training.git","clone_url":"https://github.com/smQ93/core-data-training.git","svn_url":"https://github.com/smQ93/core-data-training","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"smQ93:master","ref":"master","sha":"df651fa5525a533a472eeda6e6511eabf1d1ddf1","user":{"login":"smQ93","id":19189902,"avatar_url":"https://avatars.githubusercontent.com/u/19189902?v=3","gravatar_id":"","url":"https://api.github.com/users/smQ93","html_url":"https://github.com/smQ93","followers_url":"https://api.github.com/users/smQ93/followers","following_url":"https://api.github.com/users/smQ93/following{/other_user}","gists_url":"https://api.github.com/users/smQ93/gists{/gist_id}","starred_url":"https://api.github.com/users/smQ93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smQ93/subscriptions","organizations_url":"https://api.github.com/users/smQ93/orgs","repos_url":"https://api.github.com/users/smQ93/repos","events_url":"https://api.github.com/users/smQ93/events{/privacy}","received_events_url":"https://api.github.com/users/smQ93/received_events","type":"User","site_admin":false},"repo":{"id":58060764,"name":"core-data-training","full_name":"smQ93/core-data-training","owner":{"login":"smQ93","id":19189902,"avatar_url":"https://avatars.githubusercontent.com/u/19189902?v=3","gravatar_id":"","url":"https://api.github.com/users/smQ93","html_url":"https://github.com/smQ93","followers_url":"https://api.github.com/users/smQ93/followers","following_url":"https://api.github.com/users/smQ93/following{/other_user}","gists_url":"https://api.github.com/users/smQ93/gists{/gist_id}","starred_url":"https://api.github.com/users/smQ93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smQ93/subscriptions","organizations_url":"https://api.github.com/users/smQ93/orgs","repos_url":"https://api.github.com/users/smQ93/repos","events_url":"https://api.github.com/users/smQ93/events{/privacy}","received_events_url":"https://api.github.com/users/smQ93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smQ93/core-data-training","description":"","fork":false,"url":"https://api.github.com/repos/smQ93/core-data-training","forks_url":"https://api.github.com/repos/smQ93/core-data-training/forks","keys_url":"https://api.github.com/repos/smQ93/core-data-training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smQ93/core-data-training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smQ93/core-data-training/teams","hooks_url":"https://api.github.com/repos/smQ93/core-data-training/hooks","issue_events_url":"https://api.github.com/repos/smQ93/core-data-training/issues/events{/number}","events_url":"https://api.github.com/repos/smQ93/core-data-training/events","assignees_url":"https://api.github.com/repos/smQ93/core-data-training/assignees{/user}","branches_url":"https://api.github.com/repos/smQ93/core-data-training/branches{/branch}","tags_url":"https://api.github.com/repos/smQ93/core-data-training/tags","blobs_url":"https://api.github.com/repos/smQ93/core-data-training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smQ93/core-data-training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smQ93/core-data-training/git/refs{/sha}","trees_url":"https://api.github.com/repos/smQ93/core-data-training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smQ93/core-data-training/statuses/{sha}","languages_url":"https://api.github.com/repos/smQ93/core-data-training/languages","stargazers_url":"https://api.github.com/repos/smQ93/core-data-training/stargazers","contributors_url":"https://api.github.com/repos/smQ93/core-data-training/contributors","subscribers_url":"https://api.github.com/repos/smQ93/core-data-training/subscribers","subscription_url":"https://api.github.com/repos/smQ93/core-data-training/subscription","commits_url":"https://api.github.com/repos/smQ93/core-data-training/commits{/sha}","git_commits_url":"https://api.github.com/repos/smQ93/core-data-training/git/commits{/sha}","comments_url":"https://api.github.com/repos/smQ93/core-data-training/comments{/number}","issue_comment_url":"https://api.github.com/repos/smQ93/core-data-training/issues/comments{/number}","contents_url":"https://api.github.com/repos/smQ93/core-data-training/contents/{+path}","compare_url":"https://api.github.com/repos/smQ93/core-data-training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smQ93/core-data-training/merges","archive_url":"https://api.github.com/repos/smQ93/core-data-training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smQ93/core-data-training/downloads","issues_url":"https://api.github.com/repos/smQ93/core-data-training/issues{/number}","pulls_url":"https://api.github.com/repos/smQ93/core-data-training/pulls{/number}","milestones_url":"https://api.github.com/repos/smQ93/core-data-training/milestones{/number}","notifications_url":"https://api.github.com/repos/smQ93/core-data-training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smQ93/core-data-training/labels{/name}","releases_url":"https://api.github.com/repos/smQ93/core-data-training/releases{/id}","deployments_url":"https://api.github.com/repos/smQ93/core-data-training/deployments","created_at":"2016-05-04T14:56:54Z","updated_at":"2016-05-04T15:11:46Z","pushed_at":"2016-05-13T09:21:42Z","git_url":"git://github.com/smQ93/core-data-training.git","ssh_url":"git@github.com:smQ93/core-data-training.git","clone_url":"https://github.com/smQ93/core-data-training.git","svn_url":"https://github.com/smQ93/core-data-training","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Swift","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/smQ93/core-data-training/pulls/3"},"html":{"href":"https://github.com/smQ93/core-data-training/pull/3"},"issue":{"href":"https://api.github.com/repos/smQ93/core-data-training/issues/3"},"comments":{"href":"https://api.github.com/repos/smQ93/core-data-training/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/smQ93/core-data-training/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/smQ93/core-data-training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smQ93/core-data-training/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/smQ93/core-data-training/statuses/1f0a0f2802c028b48371715a4d5e1bd67804c9f9"}}}}