ChainAssembly

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(GeneralAction.presentModally())
            .from(GeneralStep.current())
            .assemble()
    

    Declaration

    Swift

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

    Parameters

    step

    The instance of ActionConnectingAssembly