DefaultControllerContainerAwareRoutingPresenter
open class DefaultControllerContainerAwareRoutingPresenter : ControllerContainerAwareRoutingPresenter
Undocumented
-
Undocumented
Declaration
Swift
public let controllerContainer: ControllerContainer
-
Undocumented
Declaration
Swift
public init(controllerContainer: ControllerContainer)
-
Is this presenter responsible for presenting a given routing option
Declaration
Swift
open func isResponsible(routeResult: RouteResult) -> Bool
Parameters
option
a given routing option
Return Value
true if it is responsible, false if not
-
Present a view controller
Declaration
Swift
open func present(controller: UIViewController, routeResult: RouteResult, wireframe: Wireframe, delegate: RoutingDelegate, completion: @escaping () -> ()) throws
Parameters
controller
The controller to be presented
routePattern
The route pattern triggering this respresentation
option
The routing option containing all presentation specific data
parameters
The parameters (data) extraced from the route, or given by the sender
wireframe
The wireframe triggering the presenter
delegate
A delegate called for routing event handling