DefaultStackPresentationHandler
public struct DefaultStackPresentationHandler : StackPresentationHandler, MainThreadChecking
Default implementation of StackPresentationHandler
-
Logger
instance to be used byDefaultRouter
.Declaration
Swift
public let logger: Logger?
-
ContainerAdapter
instance.Declaration
Swift
public let containerAdapterLocator: ContainerAdapterLocator
-
Constructor
Parameters
- logger: A
Logger
instance to be used by theDefaultRouter
. - containerAdapterLocator: A
ContainerAdapterLocator
instance to be used by theDefaultRouter
.
Declaration
Swift
public init(logger: Logger? = RouteComposerDefaults.shared.logger, containerAdapterLocator: ContainerAdapterLocator = RouteComposerDefaults.shared.containerAdapterLocator)
- logger: A
-
Declaration
Swift
public func dismissPresented(from viewController: UIViewController, animated: Bool, completion: @escaping (RoutingResult) -> Void)
-
Declaration
Swift
public func makeVisibleInParentContainers(_ viewController: UIViewController, animated: Bool, completion: @escaping (RoutingResult) -> Void)