GeneralStep
public enum GeneralStep
A wrapper for the general steps that can be applied to any UIViewController
-
Returns the root view controller of the key window.
Declaration
Swift
public static func root<C>(windowProvider: WindowProvider = RouteComposerDefaults.shared.windowProvider) -> DestinationStep<UIViewController, C>
-
Returns the topmost presented view controller.
Declaration
Swift
public static func current<C>(windowProvider: WindowProvider = RouteComposerDefaults.shared.windowProvider) -> DestinationStep<UIViewController, C>
-
Returns the resulting view controller of the finder provided.
Declaration
Swift
public static func custom<F>(using finder: F) -> DestinationStep<F.ViewController, F.Context> where F : Finder