iOS Animation with Swift
Part 13: Interactive Transitions
iOS Animation with Swift Part 13: Interactive Transitions - - PowerPoint PPT Presentation
iOS Animation with Swift Part 13: Interactive Transitions UINavigationControllerDelegate Animator navigationController(navigationController:, Delegate interactionControllerForAnimationController:) Interactive Transitions and Gestures View
Part 13: Interactive Transitions
UINavigationControllerDelegate
Delegate navigationController(navigationController:, interactionControllerForAnimationController:) Animator
Create recognizer, add to view
Interactive Transitions and Gestures
View Controller Gesture Recognizer Transition Controller User pans didPan() callback perform segue forward didPan() Update animation
UIPercentDrivenInteractiveTransition
0.0 1.0 0.5 0.75 startInteractiveTransition() finishInteractiveTransition() updateInteractiveTransition(progress) 0.25
Demo: Interactive transition
Challenge Time!