PostRoutingTask
public protocol PostRoutingTask
The task to be executed after navigation process happened.
-
UIViewController
type associated with thisPostRoutingTask
Declaration
Swift
associatedtype ViewController : UIViewController
-
Context
type associated with thisPostRoutingTask
Declaration
Swift
associatedtype Context
-
Method to be executed by the
Router
after all the view controllers have been built into the stack.Declaration
Swift
func perform(on viewController: ViewController, with context: Context, routingStack: [UIViewController])
-
perform(on:
Extension methodroutingStack: ) Method to be executed by the
Router
after all the view controllers have been built into the stack.Declaration
Swift
func perform(on viewController: ViewController, routingStack: [UIViewController])
Parameters
viewController
The
UIViewController
instance that this post-task has been attached toroutingStack
An array of all the view controllers that been built by the
Router
to reach the final destination
-
perform(on:
Extension methodroutingStack: ) Method to be executed by the
Router
after all the view controllers have been built into the stack.Declaration
Swift
func perform(on viewController: ViewController, routingStack: [UIViewController])
Parameters
viewController
The
UIViewController
instance that this post-task has been attached toroutingStack
An array of all the view controllers that been built by the
Router
to reach the final destination