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

Question: Simulate detail segue animation #69

Open
leofontes opened this issue May 24, 2017 · 0 comments
Open

Question: Simulate detail segue animation #69

leofontes opened this issue May 24, 2017 · 0 comments

Comments

@leofontes
Copy link

Hey everybody,

I'm working on an app in which we have many situations of master-detail flow, if we were using Storyboard segues we would use the Detail Segue.

let detail: UIViewController = UIStoryboard(name: "Storyboard", bundle: nil).instantiateViewController(withIdentifier: Storyboard.identifier)

viewController.present(detail, animated: true, completion: completionHandler)

return detail as! Routable

Given this code that we're using right now, how could we simulate the same animation as the DetailSegue one? (new viewController slides left to be on top of old viewController)

We tried looking into the default animations provided by Apple but they're flashy and not what we're looking for, also we're aware there's a work around by creating an interactive transition, but we were wondering if there's something more straightforward than that.

Thank you! Great job on ReSwift and ReSwiftRouter 😉

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

No branches or pull requests

1 participant