StepAssemblerWithFinder

@MainActor
public struct StepAssemblerWithFinder<F> where F : Finder

Helper struct to build StepAssembly with chain StepAssembler -> StepAssemblerWithFinder -> StepAssembly.

Methods

  • Constructor

    Declaration

    Swift

    @MainActor
    public init(finder: F)

    Parameters

    finder

    The UIViewController Finder instance.

  • Return a StepAssembly from StepAssemblerWithFinder with a specific Factory instance

    Declaration

    Swift

    @_disfavoredOverload
    @MainActor
    public func factory<FC>(_ factory: FC) -> StepAssembly<F, FC> where FC : Factory, F.Context == FC.Context, F.ViewController == FC.ViewController

    Parameters

    factory

    The UIViewController Factory instance.

  • Return a StepAssembly from StepAssemblerWithFinder with a specific ContainerFactory instance

    Declaration

    Swift

    @_disfavoredOverload
    @MainActor
    public func factory<FC>(_ factory: FC) -> StepAssembly<F, FC> where FC : ContainerFactory, F.Context == FC.Context, F.ViewController == FC.ViewController

    Parameters

    factory

    The UIViewController Factory instance.

Shorthands

Available where F.ViewController == UINavigationController

Available where F.ViewController == UISplitViewController

Available where F.ViewController == UITabBarController