NilFactory
The dummy struct used to represent the Factory that does not build anything.
Its only purpose is to provide the type safety checks for the StepAssembly.
For example, the UIViewController of the step was already loaded and integrated into a stack by a
storyboard in a previous step.
-
Declaration
Swift
public typealias ViewController = VC -
Declaration
Swift
public typealias Context = C
-
Constructor
Declaration
Swift
@MainActor public init() -
Declaration
Swift
@MainActor public func prepare(with context: C) throws -
Declaration
Swift
@MainActor public func build(with context: C) throws -> VC
-
The dummy struct used to represent the
Factorythat does not build anything. Its only purpose is to provide the type safety checks for theStepAssembly.For example, the
UIViewControllerof the step was already loaded and integrated into a stack by a storyboard in a previous step.Declaration
Swift
@MainActor static var nilFactory: `Self` { get }