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