PostRoutingTask
@MainActor
public protocol PostRoutingTask
The task to be executed after navigation process happened.
-
UIViewControllertype associated with thisPostRoutingTaskDeclaration
Swift
associatedtype ViewController : UIViewController -
Contexttype associated with thisPostRoutingTaskDeclaration
Swift
associatedtype Context
-
Method to be executed by the
Routerafter all the view controllers have been built into the stack.Declaration
Swift
@MainActor func perform(on viewController: ViewController, with context: Context, routingStack: [UIViewController])
-
perform(on:Extension methodroutingStack: ) Method to be executed by the
Routerafter all the view controllers have been built into the stack.Declaration
Swift
@MainActor func perform(on viewController: ViewController, routingStack: [UIViewController])Parameters
viewControllerThe
UIViewControllerinstance that this post-task has been attached toroutingStackAn array of all the view controllers that been built by the
Routerto reach the final destination
-
perform(on:Extension methodroutingStack: ) Method to be executed by the
Routerafter all the view controllers have been built into the stack.Declaration
Swift
@MainActor func perform(on viewController: ViewController, routingStack: [UIViewController])Parameters
viewControllerThe
UIViewControllerinstance that this post-task has been attached toroutingStackAn array of all the view controllers that been built by the
Routerto reach the final destination