{"action":"created","comment":{"url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/comments/47172666","id":47172666,"diff_hunk":"@@ -323,7 +329,7 @@ public final class ImageViewer: UIViewController, UIScrollViewDelegate {\n         }\n     }\n     \n-    private func closeAnimations() {\n+    internal func closeAnimation(duration: NSTimeInterval, completion: ((Bool) -> Void)?) {\n         ","path":"ImageViewer/Source/ImageViewer/ImageViewer.swift","position":154,"original_position":154,"commit_id":"ff39f494b1993cedee0075a9c5e190a1344a631d","original_commit_id":"ff39f494b1993cedee0075a9c5e190a1344a631d","user":{"login":"RuiAAPeres","id":949286,"avatar_url":"https://avatars.githubusercontent.com/u/949286?v=3","gravatar_id":"","url":"https://api.github.com/users/RuiAAPeres","html_url":"https://github.com/RuiAAPeres","followers_url":"https://api.github.com/users/RuiAAPeres/followers","following_url":"https://api.github.com/users/RuiAAPeres/following{/other_user}","gists_url":"https://api.github.com/users/RuiAAPeres/gists{/gist_id}","starred_url":"https://api.github.com/users/RuiAAPeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuiAAPeres/subscriptions","organizations_url":"https://api.github.com/users/RuiAAPeres/orgs","repos_url":"https://api.github.com/users/RuiAAPeres/repos","events_url":"https://api.github.com/users/RuiAAPeres/events{/privacy}","received_events_url":"https://api.github.com/users/RuiAAPeres/received_events","type":"User","site_admin":false},"body":"Same here","created_at":"2015-12-10T00:06:16Z","updated_at":"2015-12-10T00:06:16Z","html_url":"https://github.com/MailOnline/ImageViewer/pull/1#discussion_r47172666","pull_request_url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/comments/47172666"},"html":{"href":"https://github.com/MailOnline/ImageViewer/pull/1#discussion_r47172666"},"pull_request":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1","id":52976523,"html_url":"https://github.com/MailOnline/ImageViewer/pull/1","diff_url":"https://github.com/MailOnline/ImageViewer/pull/1.diff","patch_url":"https://github.com/MailOnline/ImageViewer/pull/1.patch","issue_url":"https://api.github.com/repos/MailOnline/ImageViewer/issues/1","number":1,"state":"open","locked":false,"title":"Present modal with custom transition","user":{"login":"mluisbrown","id":4175766,"avatar_url":"https://avatars.githubusercontent.com/u/4175766?v=3","gravatar_id":"","url":"https://api.github.com/users/mluisbrown","html_url":"https://github.com/mluisbrown","followers_url":"https://api.github.com/users/mluisbrown/followers","following_url":"https://api.github.com/users/mluisbrown/following{/other_user}","gists_url":"https://api.github.com/users/mluisbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/mluisbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluisbrown/subscriptions","organizations_url":"https://api.github.com/users/mluisbrown/orgs","repos_url":"https://api.github.com/users/mluisbrown/repos","events_url":"https://api.github.com/users/mluisbrown/events{/privacy}","received_events_url":"https://api.github.com/users/mluisbrown/received_events","type":"User","site_admin":false},"body":"Changed to make view controller presentable as modal VC using custom transition.\r\nOnly made a custom transition for the presentation, not the dismissal, where it's not necessary (uses the existing animation).","created_at":"2015-12-08T12:52:39Z","updated_at":"2015-12-10T00:06:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71b062d62abd8e3117c8cfbda496994315fce56f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MailOnline/ImageViewer/issues/1/comments","statuses_url":"https://api.github.com/repos/MailOnline/ImageViewer/statuses/ff39f494b1993cedee0075a9c5e190a1344a631d","head":{"label":"mluisbrown:master","ref":"master","sha":"ff39f494b1993cedee0075a9c5e190a1344a631d","user":{"login":"mluisbrown","id":4175766,"avatar_url":"https://avatars.githubusercontent.com/u/4175766?v=3","gravatar_id":"","url":"https://api.github.com/users/mluisbrown","html_url":"https://github.com/mluisbrown","followers_url":"https://api.github.com/users/mluisbrown/followers","following_url":"https://api.github.com/users/mluisbrown/following{/other_user}","gists_url":"https://api.github.com/users/mluisbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/mluisbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluisbrown/subscriptions","organizations_url":"https://api.github.com/users/mluisbrown/orgs","repos_url":"https://api.github.com/users/mluisbrown/repos","events_url":"https://api.github.com/users/mluisbrown/events{/privacy}","received_events_url":"https://api.github.com/users/mluisbrown/received_events","type":"User","site_admin":false},"repo":{"id":47569291,"name":"ImageViewer","full_name":"mluisbrown/ImageViewer","owner":{"login":"mluisbrown","id":4175766,"avatar_url":"https://avatars.githubusercontent.com/u/4175766?v=3","gravatar_id":"","url":"https://api.github.com/users/mluisbrown","html_url":"https://github.com/mluisbrown","followers_url":"https://api.github.com/users/mluisbrown/followers","following_url":"https://api.github.com/users/mluisbrown/following{/other_user}","gists_url":"https://api.github.com/users/mluisbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/mluisbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluisbrown/subscriptions","organizations_url":"https://api.github.com/users/mluisbrown/orgs","repos_url":"https://api.github.com/users/mluisbrown/repos","events_url":"https://api.github.com/users/mluisbrown/events{/privacy}","received_events_url":"https://api.github.com/users/mluisbrown/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mluisbrown/ImageViewer","description":"An image viewer à la Twitter","fork":true,"url":"https://api.github.com/repos/mluisbrown/ImageViewer","forks_url":"https://api.github.com/repos/mluisbrown/ImageViewer/forks","keys_url":"https://api.github.com/repos/mluisbrown/ImageViewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mluisbrown/ImageViewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mluisbrown/ImageViewer/teams","hooks_url":"https://api.github.com/repos/mluisbrown/ImageViewer/hooks","issue_events_url":"https://api.github.com/repos/mluisbrown/ImageViewer/issues/events{/number}","events_url":"https://api.github.com/repos/mluisbrown/ImageViewer/events","assignees_url":"https://api.github.com/repos/mluisbrown/ImageViewer/assignees{/user}","branches_url":"https://api.github.com/repos/mluisbrown/ImageViewer/branches{/branch}","tags_url":"https://api.github.com/repos/mluisbrown/ImageViewer/tags","blobs_url":"https://api.github.com/repos/mluisbrown/ImageViewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mluisbrown/ImageViewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mluisbrown/ImageViewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/mluisbrown/ImageViewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mluisbrown/ImageViewer/statuses/{sha}","languages_url":"https://api.github.com/repos/mluisbrown/ImageViewer/languages","stargazers_url":"https://api.github.com/repos/mluisbrown/ImageViewer/stargazers","contributors_url":"https://api.github.com/repos/mluisbrown/ImageViewer/contributors","subscribers_url":"https://api.github.com/repos/mluisbrown/ImageViewer/subscribers","subscription_url":"https://api.github.com/repos/mluisbrown/ImageViewer/subscription","commits_url":"https://api.github.com/repos/mluisbrown/ImageViewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/mluisbrown/ImageViewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/mluisbrown/ImageViewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/mluisbrown/ImageViewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/mluisbrown/ImageViewer/contents/{+path}","compare_url":"https://api.github.com/repos/mluisbrown/ImageViewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mluisbrown/ImageViewer/merges","archive_url":"https://api.github.com/repos/mluisbrown/ImageViewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mluisbrown/ImageViewer/downloads","issues_url":"https://api.github.com/repos/mluisbrown/ImageViewer/issues{/number}","pulls_url":"https://api.github.com/repos/mluisbrown/ImageViewer/pulls{/number}","milestones_url":"https://api.github.com/repos/mluisbrown/ImageViewer/milestones{/number}","notifications_url":"https://api.github.com/repos/mluisbrown/ImageViewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mluisbrown/ImageViewer/labels{/name}","releases_url":"https://api.github.com/repos/mluisbrown/ImageViewer/releases{/id}","created_at":"2015-12-07T17:52:36Z","updated_at":"2015-12-07T17:52:37Z","pushed_at":"2015-12-09T18:11:09Z","git_url":"git://github.com/mluisbrown/ImageViewer.git","ssh_url":"git@github.com:mluisbrown/ImageViewer.git","clone_url":"https://github.com/mluisbrown/ImageViewer.git","svn_url":"https://github.com/mluisbrown/ImageViewer","homepage":"","size":15074,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"MailOnline:master","ref":"master","sha":"3f9b943f41ba20655416ef63e1dc855bea3df8e5","user":{"login":"MailOnline","id":1233900,"avatar_url":"https://avatars.githubusercontent.com/u/1233900?v=3","gravatar_id":"","url":"https://api.github.com/users/MailOnline","html_url":"https://github.com/MailOnline","followers_url":"https://api.github.com/users/MailOnline/followers","following_url":"https://api.github.com/users/MailOnline/following{/other_user}","gists_url":"https://api.github.com/users/MailOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/MailOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MailOnline/subscriptions","organizations_url":"https://api.github.com/users/MailOnline/orgs","repos_url":"https://api.github.com/users/MailOnline/repos","events_url":"https://api.github.com/users/MailOnline/events{/privacy}","received_events_url":"https://api.github.com/users/MailOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":47424925,"name":"ImageViewer","full_name":"MailOnline/ImageViewer","owner":{"login":"MailOnline","id":1233900,"avatar_url":"https://avatars.githubusercontent.com/u/1233900?v=3","gravatar_id":"","url":"https://api.github.com/users/MailOnline","html_url":"https://github.com/MailOnline","followers_url":"https://api.github.com/users/MailOnline/followers","following_url":"https://api.github.com/users/MailOnline/following{/other_user}","gists_url":"https://api.github.com/users/MailOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/MailOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MailOnline/subscriptions","organizations_url":"https://api.github.com/users/MailOnline/orgs","repos_url":"https://api.github.com/users/MailOnline/repos","events_url":"https://api.github.com/users/MailOnline/events{/privacy}","received_events_url":"https://api.github.com/users/MailOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MailOnline/ImageViewer","description":"An image viewer à la Twitter","fork":false,"url":"https://api.github.com/repos/MailOnline/ImageViewer","forks_url":"https://api.github.com/repos/MailOnline/ImageViewer/forks","keys_url":"https://api.github.com/repos/MailOnline/ImageViewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MailOnline/ImageViewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MailOnline/ImageViewer/teams","hooks_url":"https://api.github.com/repos/MailOnline/ImageViewer/hooks","issue_events_url":"https://api.github.com/repos/MailOnline/ImageViewer/issues/events{/number}","events_url":"https://api.github.com/repos/MailOnline/ImageViewer/events","assignees_url":"https://api.github.com/repos/MailOnline/ImageViewer/assignees{/user}","branches_url":"https://api.github.com/repos/MailOnline/ImageViewer/branches{/branch}","tags_url":"https://api.github.com/repos/MailOnline/ImageViewer/tags","blobs_url":"https://api.github.com/repos/MailOnline/ImageViewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MailOnline/ImageViewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MailOnline/ImageViewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/MailOnline/ImageViewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MailOnline/ImageViewer/statuses/{sha}","languages_url":"https://api.github.com/repos/MailOnline/ImageViewer/languages","stargazers_url":"https://api.github.com/repos/MailOnline/ImageViewer/stargazers","contributors_url":"https://api.github.com/repos/MailOnline/ImageViewer/contributors","subscribers_url":"https://api.github.com/repos/MailOnline/ImageViewer/subscribers","subscription_url":"https://api.github.com/repos/MailOnline/ImageViewer/subscription","commits_url":"https://api.github.com/repos/MailOnline/ImageViewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/MailOnline/ImageViewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/MailOnline/ImageViewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/MailOnline/ImageViewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/MailOnline/ImageViewer/contents/{+path}","compare_url":"https://api.github.com/repos/MailOnline/ImageViewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MailOnline/ImageViewer/merges","archive_url":"https://api.github.com/repos/MailOnline/ImageViewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MailOnline/ImageViewer/downloads","issues_url":"https://api.github.com/repos/MailOnline/ImageViewer/issues{/number}","pulls_url":"https://api.github.com/repos/MailOnline/ImageViewer/pulls{/number}","milestones_url":"https://api.github.com/repos/MailOnline/ImageViewer/milestones{/number}","notifications_url":"https://api.github.com/repos/MailOnline/ImageViewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MailOnline/ImageViewer/labels{/name}","releases_url":"https://api.github.com/repos/MailOnline/ImageViewer/releases{/id}","created_at":"2015-12-04T19:36:34Z","updated_at":"2015-12-09T20:51:01Z","pushed_at":"2015-12-09T18:11:10Z","git_url":"git://github.com/MailOnline/ImageViewer.git","ssh_url":"git@github.com:MailOnline/ImageViewer.git","clone_url":"https://github.com/MailOnline/ImageViewer.git","svn_url":"https://github.com/MailOnline/ImageViewer","homepage":"","size":15062,"stargazers_count":80,"watchers_count":80,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1"},"html":{"href":"https://github.com/MailOnline/ImageViewer/pull/1"},"issue":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/issues/1"},"comments":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/MailOnline/ImageViewer/statuses/ff39f494b1993cedee0075a9c5e190a1344a631d"}}}}