ios animation with swift
play

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


  1. iOS Animation with Swift Part 13: Interactive Transitions

  2. UINavigationControllerDelegate Animator navigationController(navigationController:, Delegate interactionControllerForAnimationController:)

  3. Interactive Transitions and Gestures View Controller Gesture Recognizer Transition Controller Create recognizer, add to view User pans didPan() callback perform segue forward didPan() Update animation

  4. UIPercentDrivenInteractiveTransition startInteractiveTransition() fi nishInteractiveTransition() 0.25 0.5 0.75 0.0 1.0 updateInteractiveTransition(progress)

  5. Demo: Interactive transition

  6. Challenge Time!

Recommend


More recommend