ReSwift-Router
ReSwift-Router copied to clipboard
Question: Simulate detail segue animation
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 😉