Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support native dismissViewControllerAnimated:completion: method instead of custom one. #121

Merged
merged 1 commit into from
Jan 13, 2016
Merged

[Feature] Support native dismissViewControllerAnimated:completion: method instead of custom one. #121

merged 1 commit into from
Jan 13, 2016

Conversation

DenTelezhkin
Copy link
Contributor

Hey!

It seems that default dismissViewControllerAnimated:completion: does not work, because it's interactive.

Correct way to handle this is to make transition interactive only when user starts panning, and disable interactivity by default.

I believe this PR closes #109 as well as #72 and #96. It also allows to call correct delegate callbacks and notifications when dismissing controller.

What do you guys think, am I missing something?

/cc @cdzombak

@cdzombak cdzombak self-assigned this Jan 13, 2016
@cdzombak
Copy link
Contributor

This looks great, @DenHeadless. There are a few things we'd like to tweak, but we're happy to merge and then I'll make a couple small changes in a followup PR.

cdzombak added a commit that referenced this pull request Jan 13, 2016
[Feature] Support native dismissViewControllerAnimated:completion: method instead of custom one.
@cdzombak cdzombak merged commit 1b02956 into nytimes:develop Jan 13, 2016
@DenTelezhkin DenTelezhkin deleted the feature/dismiss_view_controller branch January 13, 2016 20:00
Twigz added a commit that referenced this pull request Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants