ChainAssembly

@MainActor
public enum ChainAssembly

Builds a chain of steps.

Methods

  • Transforms step into a chain of steps.

    Usage

    let intermediateStep = ChainAssembly.from(NavigationControllerStep<UINavigationController, Any?>())
            .using(.present)
            .from(.current)
            .assemble()
    

    Declaration

    Swift

    @MainActor
    public static func from<VC, C>(_ step: ActionToStepIntegrator<VC, C>) -> ActionConnectingAssembly<VC, C> where VC : UIViewController

    Parameters

    step

    The instance of ActionConnectingAssembly