DefaultComposedRoutingPresenter
open class DefaultComposedRoutingPresenter : ComposedRoutingPresenter
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
public init() - 
                  
                  
Add an instance responsible for presenting view controllers. It will be triggert after the wireframe resolves a route
Declaration
Swift
public func add(routingPresenter: RoutingPresenter, priority: Int)Parameters
routingPresenterAn instance responsible for presenting view controllers
priorityThe priority for calling your provider, higher priorities are called first. (Defaults to 0)
 - 
                  
                  
Is this presenter responsible for presenting a given routing option
Declaration
Swift
public func isResponsible(routeResult: RouteResult) -> BoolParameters
optiona given routing option
Return Value
true if it is responsible, false if not
 - 
                  
                  
Present a view controller
Declaration
Swift
public func present(controller: UIViewController, routeResult: RouteResult, wireframe: Wireframe, delegate: RoutingDelegate, completion: @escaping () -> ()) throwsParameters
controllerThe controller to be presented
routePatternThe route pattern triggering this respresentation
optionThe routing option containing all presentation specific data
parametersThe parameters (data) extraced from the route, or given by the sender
wireframeThe wireframe triggering the presenter
delegateA delegate called for routing event handling
 
View on GitHub
        DefaultComposedRoutingPresenter Class Reference