{"action":"created","comment":{"url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/comments/166501066","pull_request_review_id":94572217,"id":166501066,"diff_hunk":"@@ -0,0 +1,30 @@\n+//\n+//  UIViewExtension.swift\n+//  UpcomingMovies\n+//\n+//  Created by Luan Costa on 24/01/18.\n+//  Copyright © 2018 Luan Costa. All rights reserved.\n+//\n+\n+import UIKit\n+\n+extension UIView {\n+    \n+    public func snapshotImage() -> UIImage? {\n+        UIGraphicsBeginImageContextWithOptions(bounds.size, isOpaque, 0)\n+        drawHierarchy(in: bounds, afterScreenUpdates: true)\n+        let snapshotImage = UIGraphicsGetImageFromCurrentImageContext()\n+        UIGraphicsEndImageContext()\n+        return snapshotImage\n+    }\n+    \n+    public func snapshotView() -> UIImageView? {\n+        if let snapshotImage = snapshotImage() {","path":"UpcomingMovies/Extensions/UIViewExtension.swift","position":22,"original_position":22,"commit_id":"d059d9be45d4015ca67a42042440c5a23db4840d","original_commit_id":"d059d9be45d4015ca67a42042440c5a23db4840d","user":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"body":"I can change the verification inside a guard method, but I will keep the snapshotImage function, cause this function take a snapshot to be used in my StackTransition animation. I dont know if it this that you're referring.","created_at":"2018-02-07T02:04:45Z","updated_at":"2018-02-07T02:04:45Z","html_url":"https://github.com/luanhenriq10/UpcomingMovies/pull/1#discussion_r166501066","pull_request_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/comments/166501066"},"html":{"href":"https://github.com/luanhenriq10/UpcomingMovies/pull/1#discussion_r166501066"},"pull_request":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1"}},"in_reply_to_id":166353595},"pull_request":{"url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1","id":166022416,"html_url":"https://github.com/luanhenriq10/UpcomingMovies/pull/1","diff_url":"https://github.com/luanhenriq10/UpcomingMovies/pull/1.diff","patch_url":"https://github.com/luanhenriq10/UpcomingMovies/pull/1.patch","issue_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/1","number":1,"state":"open","locked":false,"title":"Development","user":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"body":"Challenge finished.","created_at":"2018-01-30T16:01:04Z","updated_at":"2018-02-07T02:04:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1/commits","review_comments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1/comments","review_comment_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/1/comments","statuses_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/statuses/d059d9be45d4015ca67a42042440c5a23db4840d","head":{"label":"luanhenriq10:development","ref":"development","sha":"d059d9be45d4015ca67a42042440c5a23db4840d","user":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"repo":{"id":119459559,"name":"UpcomingMovies","full_name":"luanhenriq10/UpcomingMovies","owner":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luanhenriq10/UpcomingMovies","description":"Upcoming movies application, using The Movie Database API.","fork":false,"url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies","forks_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/forks","keys_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/teams","hooks_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/hooks","issue_events_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/events{/number}","events_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/events","assignees_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/assignees{/user}","branches_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/branches{/branch}","tags_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/tags","blobs_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/refs{/sha}","trees_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/statuses/{sha}","languages_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/languages","stargazers_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/stargazers","contributors_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/contributors","subscribers_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/subscribers","subscription_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/subscription","commits_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/commits{/sha}","git_commits_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/commits{/sha}","comments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/comments{/number}","issue_comment_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/comments{/number}","contents_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/contents/{+path}","compare_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/merges","archive_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/downloads","issues_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues{/number}","pulls_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls{/number}","milestones_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/milestones{/number}","notifications_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/labels{/name}","releases_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/releases{/id}","deployments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/deployments","created_at":"2018-01-30T00:25:27Z","updated_at":"2018-01-30T15:54:21Z","pushed_at":"2018-01-30T16:01:05Z","git_url":"git://github.com/luanhenriq10/UpcomingMovies.git","ssh_url":"git@github.com:luanhenriq10/UpcomingMovies.git","clone_url":"https://github.com/luanhenriq10/UpcomingMovies.git","svn_url":"https://github.com/luanhenriq10/UpcomingMovies","homepage":null,"size":7577,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"luanhenriq10:master","ref":"master","sha":"40dca776a36b1d7c8e7420ea14f69a3a1d030a05","user":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"repo":{"id":119459559,"name":"UpcomingMovies","full_name":"luanhenriq10/UpcomingMovies","owner":{"login":"luanhenriq10","id":4422426,"avatar_url":"https://avatars0.githubusercontent.com/u/4422426?v=4","gravatar_id":"","url":"https://api.github.com/users/luanhenriq10","html_url":"https://github.com/luanhenriq10","followers_url":"https://api.github.com/users/luanhenriq10/followers","following_url":"https://api.github.com/users/luanhenriq10/following{/other_user}","gists_url":"https://api.github.com/users/luanhenriq10/gists{/gist_id}","starred_url":"https://api.github.com/users/luanhenriq10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luanhenriq10/subscriptions","organizations_url":"https://api.github.com/users/luanhenriq10/orgs","repos_url":"https://api.github.com/users/luanhenriq10/repos","events_url":"https://api.github.com/users/luanhenriq10/events{/privacy}","received_events_url":"https://api.github.com/users/luanhenriq10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luanhenriq10/UpcomingMovies","description":"Upcoming movies application, using The Movie Database API.","fork":false,"url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies","forks_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/forks","keys_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/teams","hooks_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/hooks","issue_events_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/events{/number}","events_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/events","assignees_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/assignees{/user}","branches_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/branches{/branch}","tags_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/tags","blobs_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/refs{/sha}","trees_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/statuses/{sha}","languages_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/languages","stargazers_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/stargazers","contributors_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/contributors","subscribers_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/subscribers","subscription_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/subscription","commits_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/commits{/sha}","git_commits_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/git/commits{/sha}","comments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/comments{/number}","issue_comment_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/comments{/number}","contents_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/contents/{+path}","compare_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/merges","archive_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/downloads","issues_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues{/number}","pulls_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls{/number}","milestones_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/milestones{/number}","notifications_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/labels{/name}","releases_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/releases{/id}","deployments_url":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/deployments","created_at":"2018-01-30T00:25:27Z","updated_at":"2018-01-30T15:54:21Z","pushed_at":"2018-01-30T16:01:05Z","git_url":"git://github.com/luanhenriq10/UpcomingMovies.git","ssh_url":"git@github.com:luanhenriq10/UpcomingMovies.git","clone_url":"https://github.com/luanhenriq10/UpcomingMovies.git","svn_url":"https://github.com/luanhenriq10/UpcomingMovies","homepage":null,"size":7577,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1"},"html":{"href":"https://github.com/luanhenriq10/UpcomingMovies/pull/1"},"issue":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/1"},"comments":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/luanhenriq10/UpcomingMovies/statuses/d059d9be45d4015ca67a42042440c5a23db4840d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"luanhenriq10"}}