ReSwift-Router icon indicating copy to clipboard operation
ReSwift-Router copied to clipboard

Question: Interactive Transition?

Open ironforward opened this issue 8 years ago • 1 comments

Does this router support interactive transitions? Successfully presenting the next view controller always works of course, but is there a way to handle cancelling the transition so the router won't think it's made it to the next routable when it really has not?

ironforward avatar Aug 07 '16 03:08 ironforward

@kevinfez Currently there's no support for cancellation. Though in theory it shouldn't be too hard to implement. We already have a completionHandler that is passed in order to asynchronously update the router once an animated transition is completed. What is missing is an equivalent cancellation handler.

I can't make any promises on whether this will be implemented or not, but I'll keep this issue open since it's a good suggestions. PRs are also always welcome!

Ben-G avatar Sep 01 '16 01:09 Ben-G