FinderFactory
The StepAssembly
transforms a Finder
result as a Factory
result. It is useful
when a UIViewController
instance was built inside of the parent ContainerFactory
.
-
Declaration
Swift
public typealias ViewController = F.ViewController
-
Declaration
Swift
public typealias Context = F.Context
-
The additional configuration block
Declaration
Swift
public let configuration: ((F.ViewController) -> Void)?
-
Constructor
Declaration
Swift
public init?(finder: F, configuration: ((F.ViewController) -> Void)? = nil)
-
Declaration
Swift
public func build(with context: F.Context) throws -> F.ViewController