This is the code repository accompanying the Interactive Custom Container View Controller Transitions blog post at iOS Nomad.
The work is a continuation on the Custom Container View Controller Transitions article and code by Joachim Bondo, issue #12 of the objc.io publication.
Following the steps already covered by Joachim Bondo, interactive transitions are added to the custom container view controller in four additional steps:
-
Adding a Gesture Recognizer: creating
PanGestureInteractiveTransition
to trigger an animated transition between child view controllers (stage-4, diff) -
Making it Interactive:
AWPercentDrivenInteractiveTransition
is added to the project and basic interaction is implemented. (stage-5, diff) -
Delegation: Implementing delegation of interactive transitions (stage-7, diff)