Skip to main content

NavigationRouter

A root class for all routes in the SDK.

open class NavigationRouter<Controller: UIViewController>: UIResponder 

Router objects are used to handle navigation between view controllers.

Inheritance

UIResponder

Initializers

init(rootViewController:)

Creates a new instance of NavigationRouter.

public required init(rootViewController: Controller) 

Parameters

  • rootViewController: The view controller used as the root VC.

Properties

rootViewController

The root UIViewController object of this router.

public unowned var rootViewController: Controller

rootNavigationController

A convenience method to get the navigation controller of the root view controller.

public var rootNavigationController: UINavigationController? 

next

override open var next: UIResponder? 

Did you find this page helpful?