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 Router to continue the navigation process, the completion block of the interceptor’s execute method MUST be called. Otherwise, the Router will stay in a limbo state waiting for the interceptor to finish its action.

    See more

    Declaration

    Swift

    public protocol RoutingInterceptor
  • The task to be applied after a UIViewController was created or found.

    NB

    The ContextTask will be applied to the new UIViewController before it’s integration into the stack.

    See more

    Declaration

    Swift

    public protocol ContextTask
  • The task to be executed after navigation process happened.

    See more

    Declaration

    Swift

    public protocol PostRoutingTask