PushReplacingLastAction

public struct PushReplacingLastAction<ViewController> : ContainerAction where ViewController : UINavigationController

Pushes a view controller into the UINavigationController‘s child stack replacing the last one

Methods

  • Declaration

    Swift

    public func perform(embedding viewController: UIViewController,
                        in childViewControllers: inout [UIViewController])
  • Declaration

    Swift

    public func perform(with viewController: UIViewController,
                        on navigationController: ViewController,
                        animated: Bool,
                        completion: @escaping (_: RoutingResult) -> Void)