{"action":"closed","number":160,"pull_request":{"url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160","id":65715522,"html_url":"https://github.com/JakeLin/IBAnimatable/pull/160","diff_url":"https://github.com/JakeLin/IBAnimatable/pull/160.diff","patch_url":"https://github.com/JakeLin/IBAnimatable/pull/160.patch","issue_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/160","number":160,"state":"closed","locked":false,"title":"Support PanScreenDdgeGesture for dismiss or pop","user":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"body":"In this PR\r\n\r\n1. Refactor `InteractiveGestureType` to use more Swifty way. Remove `PanFromLeft`, `PanFromRight` and so on, and use `Pan(Left)` and `Pan(Right)` instead.\r\n1. Create `InteractiveAnimator` abstract (kind of, but Swift doesn't have it) class to encapsulate all logic for `InteractiveAnimator` subclasses\r\n1. Change the default transition duration to 0.75, it looks nicer for most of transition animations.\r\n1. Add `ScreenEdgePanInteractiveAnimator` to support `PanFromRight`, `PanFromTop`, `PanFromBottom`, `PanHorizontally` and `PanVertically` to `ScreenEdgePan(Left)`, `ScreenEdgePan(Right)`, `ScreenEdgePan(Top)`, `ScreenEdgePan(Bottom)`, `ScreenEdgePan(Horizontal)` and `ScreenEdgePan(Vertical)` for `ScreenEdgePan` gesture transition controller.\r\n\r\nIt is very easy to add new `***InteractiveAnimator` like `PinchInteractiveAnimator` because most of logic is in `InteractiveAnimator` abstract class.\r\n\r\n@tbaranes could you please have a look when you have time. I will add Pinch gesture to `ExplodeAnimator` in next PR, thanks.","created_at":"2016-04-07T23:21:48Z","updated_at":"2016-04-08T06:27:29Z","closed_at":"2016-04-08T06:27:29Z","merged_at":"2016-04-08T06:27:29Z","merge_commit_sha":"2cfcefe3acac534bd9caa5204f136da843a492b7","assignee":null,"milestone":{"url":"https://api.github.com/repos/JakeLin/IBAnimatable/milestones/12","html_url":"https://github.com/JakeLin/IBAnimatable/milestones/2.3","labels_url":"https://api.github.com/repos/JakeLin/IBAnimatable/milestones/12/labels","id":1679325,"number":12,"title":"2.3","description":"Major version theme: Transition animations and gesture interactions.","creator":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2016-04-02T11:09:00Z","updated_at":"2016-04-08T06:27:29Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160/commits","review_comments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160/comments","review_comment_url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/160/comments","statuses_url":"https://api.github.com/repos/JakeLin/IBAnimatable/statuses/f8ddd476672c6eb9f2d3d49506e13d3510242db6","head":{"label":"JakeLin:feature/pan-from-screen-edge-gesture","ref":"feature/pan-from-screen-edge-gesture","sha":"f8ddd476672c6eb9f2d3d49506e13d3510242db6","user":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"repo":{"id":46383222,"name":"IBAnimatable","full_name":"JakeLin/IBAnimatable","owner":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JakeLin/IBAnimatable","description":"Design and prototype UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.","fork":false,"url":"https://api.github.com/repos/JakeLin/IBAnimatable","forks_url":"https://api.github.com/repos/JakeLin/IBAnimatable/forks","keys_url":"https://api.github.com/repos/JakeLin/IBAnimatable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JakeLin/IBAnimatable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JakeLin/IBAnimatable/teams","hooks_url":"https://api.github.com/repos/JakeLin/IBAnimatable/hooks","issue_events_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/events{/number}","events_url":"https://api.github.com/repos/JakeLin/IBAnimatable/events","assignees_url":"https://api.github.com/repos/JakeLin/IBAnimatable/assignees{/user}","branches_url":"https://api.github.com/repos/JakeLin/IBAnimatable/branches{/branch}","tags_url":"https://api.github.com/repos/JakeLin/IBAnimatable/tags","blobs_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/refs{/sha}","trees_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JakeLin/IBAnimatable/statuses/{sha}","languages_url":"https://api.github.com/repos/JakeLin/IBAnimatable/languages","stargazers_url":"https://api.github.com/repos/JakeLin/IBAnimatable/stargazers","contributors_url":"https://api.github.com/repos/JakeLin/IBAnimatable/contributors","subscribers_url":"https://api.github.com/repos/JakeLin/IBAnimatable/subscribers","subscription_url":"https://api.github.com/repos/JakeLin/IBAnimatable/subscription","commits_url":"https://api.github.com/repos/JakeLin/IBAnimatable/commits{/sha}","git_commits_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/commits{/sha}","comments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/comments{/number}","issue_comment_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/comments{/number}","contents_url":"https://api.github.com/repos/JakeLin/IBAnimatable/contents/{+path}","compare_url":"https://api.github.com/repos/JakeLin/IBAnimatable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JakeLin/IBAnimatable/merges","archive_url":"https://api.github.com/repos/JakeLin/IBAnimatable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JakeLin/IBAnimatable/downloads","issues_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues{/number}","pulls_url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls{/number}","milestones_url":"https://api.github.com/repos/JakeLin/IBAnimatable/milestones{/number}","notifications_url":"https://api.github.com/repos/JakeLin/IBAnimatable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JakeLin/IBAnimatable/labels{/name}","releases_url":"https://api.github.com/repos/JakeLin/IBAnimatable/releases{/id}","deployments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/deployments","created_at":"2015-11-17T23:55:21Z","updated_at":"2016-04-08T05:42:39Z","pushed_at":"2016-04-08T06:27:29Z","git_url":"git://github.com/JakeLin/IBAnimatable.git","ssh_url":"git@github.com:JakeLin/IBAnimatable.git","clone_url":"https://github.com/JakeLin/IBAnimatable.git","svn_url":"https://github.com/JakeLin/IBAnimatable","homepage":"","size":24508,"stargazers_count":3815,"watchers_count":3815,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"open_issues_count":36,"forks":272,"open_issues":36,"watchers":3815,"default_branch":"master"}},"base":{"label":"JakeLin:master","ref":"master","sha":"065e8d3aff07eab00e0c1d2d7ebe0514f26ac6af","user":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"repo":{"id":46383222,"name":"IBAnimatable","full_name":"JakeLin/IBAnimatable","owner":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JakeLin/IBAnimatable","description":"Design and prototype UI, interaction, navigation, transition and animation for App Store ready Apps in Interface Builder with IBAnimatable.","fork":false,"url":"https://api.github.com/repos/JakeLin/IBAnimatable","forks_url":"https://api.github.com/repos/JakeLin/IBAnimatable/forks","keys_url":"https://api.github.com/repos/JakeLin/IBAnimatable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JakeLin/IBAnimatable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JakeLin/IBAnimatable/teams","hooks_url":"https://api.github.com/repos/JakeLin/IBAnimatable/hooks","issue_events_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/events{/number}","events_url":"https://api.github.com/repos/JakeLin/IBAnimatable/events","assignees_url":"https://api.github.com/repos/JakeLin/IBAnimatable/assignees{/user}","branches_url":"https://api.github.com/repos/JakeLin/IBAnimatable/branches{/branch}","tags_url":"https://api.github.com/repos/JakeLin/IBAnimatable/tags","blobs_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/refs{/sha}","trees_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JakeLin/IBAnimatable/statuses/{sha}","languages_url":"https://api.github.com/repos/JakeLin/IBAnimatable/languages","stargazers_url":"https://api.github.com/repos/JakeLin/IBAnimatable/stargazers","contributors_url":"https://api.github.com/repos/JakeLin/IBAnimatable/contributors","subscribers_url":"https://api.github.com/repos/JakeLin/IBAnimatable/subscribers","subscription_url":"https://api.github.com/repos/JakeLin/IBAnimatable/subscription","commits_url":"https://api.github.com/repos/JakeLin/IBAnimatable/commits{/sha}","git_commits_url":"https://api.github.com/repos/JakeLin/IBAnimatable/git/commits{/sha}","comments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/comments{/number}","issue_comment_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/comments{/number}","contents_url":"https://api.github.com/repos/JakeLin/IBAnimatable/contents/{+path}","compare_url":"https://api.github.com/repos/JakeLin/IBAnimatable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JakeLin/IBAnimatable/merges","archive_url":"https://api.github.com/repos/JakeLin/IBAnimatable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JakeLin/IBAnimatable/downloads","issues_url":"https://api.github.com/repos/JakeLin/IBAnimatable/issues{/number}","pulls_url":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls{/number}","milestones_url":"https://api.github.com/repos/JakeLin/IBAnimatable/milestones{/number}","notifications_url":"https://api.github.com/repos/JakeLin/IBAnimatable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JakeLin/IBAnimatable/labels{/name}","releases_url":"https://api.github.com/repos/JakeLin/IBAnimatable/releases{/id}","deployments_url":"https://api.github.com/repos/JakeLin/IBAnimatable/deployments","created_at":"2015-11-17T23:55:21Z","updated_at":"2016-04-08T05:42:39Z","pushed_at":"2016-04-08T06:27:29Z","git_url":"git://github.com/JakeLin/IBAnimatable.git","ssh_url":"git@github.com:JakeLin/IBAnimatable.git","clone_url":"https://github.com/JakeLin/IBAnimatable.git","svn_url":"https://github.com/JakeLin/IBAnimatable","homepage":"","size":24508,"stargazers_count":3815,"watchers_count":3815,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"open_issues_count":36,"forks":272,"open_issues":36,"watchers":3815,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160"},"html":{"href":"https://github.com/JakeLin/IBAnimatable/pull/160"},"issue":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/160"},"comments":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/JakeLin/IBAnimatable/statuses/f8ddd476672c6eb9f2d3d49506e13d3510242db6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JakeLin","id":573856,"avatar_url":"https://avatars.githubusercontent.com/u/573856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeLin","html_url":"https://github.com/JakeLin","followers_url":"https://api.github.com/users/JakeLin/followers","following_url":"https://api.github.com/users/JakeLin/following{/other_user}","gists_url":"https://api.github.com/users/JakeLin/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeLin/subscriptions","organizations_url":"https://api.github.com/users/JakeLin/orgs","repos_url":"https://api.github.com/users/JakeLin/repos","events_url":"https://api.github.com/users/JakeLin/events{/privacy}","received_events_url":"https://api.github.com/users/JakeLin/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":10,"additions":343,"deletions":119,"changed_files":18}}