PushAsRootAction

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

Replaces all the child view controllers in the UINavigationController‘s child stack

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)