ScreenNavigator
public final class ScreenNavigator
Undocumented
-
Undocumented
Declaration
Swift
public typealias Completion = (Result<Void, Error>) -> Void
-
Undocumented
Declaration
Swift
public var window: UIWindow? { get }
-
Undocumented
Declaration
Swift
public var topContainer: UIViewController? { get }
-
Undocumented
Declaration
Swift
public var topStackContainer: UINavigationController? { get }
-
Undocumented
Declaration
Swift
public var topTabsContainer: UITabBarController? { get }
-
Undocumented
Declaration
Swift
public init( windowProvider: ScreenWindowProvider = ScreenKeyWindowProvider(), iterator: ScreenIterator = DefaultScreenIterator(), logger: ScreenLogger? = DefaultScreenLogger() )
-
Undocumented
Declaration
Swift
public init( window: UIWindow, iterator: ScreenIterator = DefaultScreenIterator(), logger: ScreenLogger? = DefaultScreenLogger() )
-
-
Undocumented
Declaration
Swift
public func perform<Action: ScreenAction>( action: Action, completion: Completion? ) where Action.Container == UIWindow
-
Undocumented
Declaration
Swift
public func iterate( from container: ScreenContainer, while predicate: ScreenIterationPredicate ) -> ScreenContainer?
-
Undocumented
Declaration
Swift
public func firstContainer( in container: ScreenContainer, where predicate: @escaping (_ container: ScreenContainer) -> Bool ) -> ScreenContainer?
-
Undocumented
Declaration
Swift
public func lastContainer( in container: ScreenContainer, where predicate: @escaping (_ container: ScreenContainer) -> Bool ) -> ScreenContainer?
-
Undocumented
Declaration
Swift
public func topContainer( in container: ScreenContainer, where predicate: @escaping (_ container: ScreenContainer) -> Bool ) -> ScreenContainer?
-
Undocumented
Declaration
Swift
public func logInfo(_ info: @autoclosure () -> String)
-
Undocumented
Declaration
Swift
public func logError(_ error: @autoclosure () -> Error)
-
Undocumented
Declaration
Swift
public func navigate<Output, Route: ScreenThenable>( from container: Output?, to route: Route, completion: Completion? = nil ) where Route.Root == Output
-
Undocumented
Declaration
Swift
public func navigate<Output: ScreenContainer>( from container: Output?, to route: (_ route: ScreenRootRoute<Output>) -> ScreenRouteConvertible, completion: Completion? = nil )
-
Undocumented
Declaration
Swift
public func navigate<New: ScreenContainer>( to route: ScreenRoute<UIWindow, New>, completion: Completion? = nil )
-
Undocumented
Declaration
Swift
public func navigate( to route: (_ route: ScreenRootRoute<UIWindow>) -> ScreenRouteConvertible, completion: Completion? = nil )