The document discusses different types of view controller transitions in iOS, including pushing a view controller using a navigation controller, presenting a view controller modally, and creating custom transitions by implementing various view controller transitioning protocols. It also mentions using segues to trigger transitions and pass data, and provides a sample app demonstration and references for more information.
3. What’s the plan ?
• Common built-in transitions
• Pushing a view controller
• Presenting a view controller
• Custom transition
• Segue ? 👀
• Demonstration with a sample app
• References
5. - The view controller has to be contained into an UINavigationController to be able
to perform the « push » transition
- This transition doesn’t work if performed by example in a simple UIViewController
10. - View controller have to implement
UIViewControllerTransitioningDelegate protocol
- The animation controller must implement
UIViewControllerAnimatedTransitioning protocol in order to provide methods
like animateTransition(using:) in order to perform the animation
- Make it interactive by implementing
UIViewControllerInteractiveTransitioning protocol in our
animation controller