NilFinder
Dummy struct used to represent that nothing should be found in a view controller stack
and a UIViewController should always be created from scratch.
Its only purpose is to provide type safety checks for StepAssembly.
For example, UIViewController of this step was already loaded and integrated into a stack by a storyboard.
-
Declaration
Swift
public typealias ViewController = VC -
Declaration
Swift
public typealias Context = C
-
Constructor
Declaration
Swift
@MainActor public init() -
Findermethod empty implementation.Declaration
Swift
@MainActor public func findViewController(with context: C) throws -> VC?Parameters
contextA context instance provided.
Return Value
always
nil.
-
Dummy struct used to represent that nothing should be found in a view controller stack and a
UIViewControllershould always be created from scratch. Its only purpose is to provide type safety checks forStepAssembly.For example,
UIViewControllerof this step was already loaded and integrated into a stack by a storyboard.Declaration
Swift
@MainActor static var nilFinder: `Self` { get }