PushNavigationTransition

open class PushNavigationTransition : BaseTransition, ViewTransition

Class, that encapsulates UINavigationController.pushViewController(_:animated:) method call as a transition.

  • Transition type .show.

    Declaration

    Swift

    public let transitionType: TransitionType
  • Performs transition by calling pushViewController(_:animated:) on visibleView navigation controller with view argument.

    Declaration

    Swift

    open func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?)

    Parameters

    view

    view that is being pushed.

    visibleView

    visible view in navigation controller stack.

    completion

    called once transition has been completed