TransitionAnimator

public protocol TransitionAnimator

A TransitionAnimator provides a custom transition animation.

  • This method will be run before the presentation animation takes place.

    Declaration

    Swift

    func preparePresentationAnimation()
  • This method will be run alongside the presentation animation.

    Declaration

    Swift

    func performPresentationAnimation()
  • finishPresentationAnimation() Default implementation

    This method will be run when the presentation animation is completed.

    Default Implementation

    Declaration

    Swift

    func finishPresentationAnimation()
  • This method will be run before the dismissal animation takes place.

    Declaration

    Swift

    func prepareDismissalAnimation()
  • This method will be run alongside the dismissal animation.

    Declaration

    Swift

    func performDismissalAnimation()
  • This method will be run when the dismissal animation is complete.

    Declaration

    Swift

    func finishDismissalAnimation()