ActionToStepIntegrator
public class ActionToStepIntegrator<VC, C> : IntermediateDestinationStep, InterceptableStepAssembling where VC : UIViewController
Allows to add tasks to the step that is hidden in IntermediateDestinationStep
.
-
Declaration
Swift
public typealias ViewController = VC
-
Declaration
Swift
public typealias Context = C
-
Adds
RoutingInterceptor
instance. This action does not contain type safety checks to avoid complications.Declaration
Swift
public final func adding<RI>(_ interceptor: RI) -> Self where C == RI.Context, RI : RoutingInterceptor
Parameters
interceptor
The
RoutingInterceptor
instance to be executed byRouter
before the navigation process to this step. -
Adds
ContextTask
instanceDeclaration
Swift
public final func adding<CT: ContextTask>(_ contextTask: CT) -> Self where CT.ViewController == ViewController, CT.Context == Context
Parameters
contextTask
The
ContextTask
instance to be applied by aRouter
immediately after it will find or createUIViewController
. -
Adds
PostRoutingTask
instance. This action does not contain type safety checks to avoid complications.Declaration
Swift
public final func adding<PT>(_ postTask: PT) -> Self where C == PT.Context, PT : PostRoutingTask
Parameters
postTask
The
PostRoutingTask
instance to be executed by aRouter
after the navigation process.