StackPresentationHandler
@MainActor
public protocol StackPresentationHandler
Helper instance used to update the stack of UIViewControllers
-
Dismisses all the
UIViewControllers presented on top of the providedUIViewController.Declaration
Swift
@MainActor func dismissPresented(from viewController: UIViewController, animated: Bool, completion: @escaping ((_: RoutingResult) -> Void))Parameters
viewControllerUIViewControllerto dismiss presentedUIViewControllers from.animatedUpdate stack with animation where possible.
completionCompletion block
-
Makes the provided
UIViewControllervisible in all the enclosing containers.Declaration
Swift
@MainActor func makeVisibleInParentContainers(_ viewController: UIViewController, animated: Bool, completion: @escaping (RoutingResult) -> Void)Parameters
viewControllerUIViewControllerto make visible.animatedUpdate stack with animation where possible.
completionCompletion block