{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments/37851900","id":37851900,"diff_hunk":"@@ -455,6 +465,19 @@ class PostsViewController: UIViewController, UITableViewDataSource, UITableViewD\n         return posts.count\n     }\n     \n+    func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {\n+        let isLastRow = indexPath.row == self.posts.count - 1","path":"Source/PostsViewController.swift","position":110,"original_position":67,"commit_id":"0f8c7317e938ecb518274d5feefc54bbae734168","original_commit_id":"a918e2c62b7c7b6fe30a076bc0bb51441200361d","user":{"login":"ehmadzubair","id":10597112,"avatar_url":"https://avatars.githubusercontent.com/u/10597112?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmadzubair","html_url":"https://github.com/ehmadzubair","followers_url":"https://api.github.com/users/ehmadzubair/followers","following_url":"https://api.github.com/users/ehmadzubair/following{/other_user}","gists_url":"https://api.github.com/users/ehmadzubair/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmadzubair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmadzubair/subscriptions","organizations_url":"https://api.github.com/users/ehmadzubair/orgs","repos_url":"https://api.github.com/users/ehmadzubair/repos","events_url":"https://api.github.com/users/ehmadzubair/events{/privacy}","received_events_url":"https://api.github.com/users/ehmadzubair/received_events","type":"User","site_admin":false},"body":"On my simulator the response is really fast, but there is a jerk nonetheless... Would triggering this in the scrollview delegate make more sense? I've had a look at that approach too","created_at":"2015-08-25T10:32:29Z","updated_at":"2015-08-25T10:32:29Z","html_url":"https://github.com/edx/edx-app-ios/pull/359#discussion_r37851900","pull_request_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/359","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments/37851900"},"html":{"href":"https://github.com/edx/edx-app-ios/pull/359#discussion_r37851900"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/359"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-app-ios/pulls/359","id":43171179,"html_url":"https://github.com/edx/edx-app-ios/pull/359","diff_url":"https://github.com/edx/edx-app-ios/pull/359.diff","patch_url":"https://github.com/edx/edx-app-ios/pull/359.patch","issue_url":"https://api.github.com/repos/edx/edx-app-ios/issues/359","number":359,"state":"open","locked":false,"title":"Network Paginator","user":{"login":"ehmadzubair","id":10597112,"avatar_url":"https://avatars.githubusercontent.com/u/10597112?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmadzubair","html_url":"https://github.com/ehmadzubair","followers_url":"https://api.github.com/users/ehmadzubair/followers","following_url":"https://api.github.com/users/ehmadzubair/following{/other_user}","gists_url":"https://api.github.com/users/ehmadzubair/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmadzubair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmadzubair/subscriptions","organizations_url":"https://api.github.com/users/ehmadzubair/orgs","repos_url":"https://api.github.com/users/ehmadzubair/repos","events_url":"https://api.github.com/users/ehmadzubair/events{/privacy}","received_events_url":"https://api.github.com/users/ehmadzubair/received_events","type":"User","site_admin":false},"body":"Created a generic `NetworkPaginator` which takes generic `PaginatedNetworkRequests` and asks for subsequent pages.\r\n\r\n- Integrated it with `PostsViewController` to go over the implementation. Once it is done, i will integrate it in the remaining screens.","created_at":"2015-08-24T12:56:00Z","updated_at":"2015-08-25T10:32:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5b8d0084ee6f4e29b8bec744af809a89e7daaae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/359/commits","review_comments_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/359/comments","review_comment_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/issues/359/comments","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/0f8c7317e938ecb518274d5feefc54bbae734168","head":{"label":"edx:ehmad-NetworkPaginator","ref":"ehmad-NetworkPaginator","sha":"0f8c7317e938ecb518274d5feefc54bbae734168","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251733,"name":"edx-app-ios","full_name":"edx/edx-app-ios","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-ios","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-ios","forks_url":"https://api.github.com/repos/edx/edx-app-ios/forks","keys_url":"https://api.github.com/repos/edx/edx-app-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-ios/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-ios/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-ios/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-ios/events","assignees_url":"https://api.github.com/repos/edx/edx-app-ios/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-ios/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-ios/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-ios/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-ios/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-ios/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-ios/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-ios/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-app-ios/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-ios/merges","archive_url":"https://api.github.com/repos/edx/edx-app-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-ios/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-ios/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-ios/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-ios/releases{/id}","created_at":"2015-01-14T15:49:29Z","updated_at":"2015-08-17T18:57:10Z","pushed_at":"2015-08-25T10:21:57Z","git_url":"git://github.com/edx/edx-app-ios.git","ssh_url":"git@github.com:edx/edx-app-ios.git","clone_url":"https://github.com/edx/edx-app-ios.git","svn_url":"https://github.com/edx/edx-app-ios","homepage":null,"size":303269,"stargazers_count":30,"watchers_count":30,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":6,"forks":28,"open_issues":6,"watchers":30,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"8a7cd5cfb9deb70b8850794e000f339f61ec5c40","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251733,"name":"edx-app-ios","full_name":"edx/edx-app-ios","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-ios","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-ios","forks_url":"https://api.github.com/repos/edx/edx-app-ios/forks","keys_url":"https://api.github.com/repos/edx/edx-app-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-ios/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-ios/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-ios/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-ios/events","assignees_url":"https://api.github.com/repos/edx/edx-app-ios/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-ios/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-ios/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-ios/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-ios/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-ios/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-ios/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-ios/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-app-ios/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-ios/merges","archive_url":"https://api.github.com/repos/edx/edx-app-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-ios/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-ios/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-ios/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-ios/releases{/id}","created_at":"2015-01-14T15:49:29Z","updated_at":"2015-08-17T18:57:10Z","pushed_at":"2015-08-25T10:21:57Z","git_url":"git://github.com/edx/edx-app-ios.git","ssh_url":"git@github.com:edx/edx-app-ios.git","clone_url":"https://github.com/edx/edx-app-ios.git","svn_url":"https://github.com/edx/edx-app-ios","homepage":null,"size":303269,"stargazers_count":30,"watchers_count":30,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":6,"forks":28,"open_issues":6,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/359"},"html":{"href":"https://github.com/edx/edx-app-ios/pull/359"},"issue":{"href":"https://api.github.com/repos/edx/edx-app-ios/issues/359"},"comments":{"href":"https://api.github.com/repos/edx/edx-app-ios/issues/359/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/359/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/359/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-app-ios/statuses/0f8c7317e938ecb518274d5feefc54bbae734168"}}}}