This is the code repository accompanying the Custom Container View Controller Transitions article, issue #12 of the objc.io publication.
In three steps a custom container view controller is built with support for custom child view controller transition animations:
-
The Basics: implementing
ChildViewController
with no transition animation (stage-1) -
Animating the Transition: using an existing animation controller (stage-2, diff)
-
Shrink-Wrapping: implement delegate pattern, external
UIViewControllerAnimatedTransitioning
vending (stage-3, diff)
Read more on objc.io.