Tasks
-
RoutingInterceptor
is called before the actual navigation process happens. e.g. user should be logged in.NB
Interceptor is an asynchronous action. For the
See moreRouter
to continue the navigation process, thecompletion
block of the interceptor’s execute method MUST be called. Otherwise, theRouter
will stay in a limbo state waiting for the interceptor to finish its action.Declaration
Swift
public protocol RoutingInterceptor
-
The task to be applied after a
UIViewController
was created or found.NB
The
See moreContextTask
will be applied to the newUIViewController
before it’s integration into the stack.Declaration
Swift
public protocol ContextTask
-
The task to be executed after navigation process happened.
See moreDeclaration
Swift
public protocol PostRoutingTask