DefaultComposedRoutingObserver
open class DefaultComposedRoutingObserver : ComposedRoutingObserver
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
public init() - 
                  
                  
Add an instance observing controllers before they are presented
Declaration
Swift
public func add(routingObserver: RoutingObserver, priority: Int, routePattern: String?)Parameters
routingObserverAn instance observing controllers before they are presented
priorityThe priority for calling your provider, higher priorities are called first. (Defaults to 0)
routePatternThe route pattern to call this observer, the observer is called for every route if this pattern is nil
 - 
                  
                  
Event that indicates that a view controller will be presented
Declaration
Swift
public func willPresent(controller: UIViewController, routeResult: RouteResult, routingPresenter: RoutingPresenter?, wireframe: Wireframe) throwsParameters
controllerThe view controller that will be presented
routePatternThe route pattern triggering the presentation
routingOptionThe RoutingOption describing how the controller will be presented
parametersThe parameters (data) extraced from the route, or given by the sender
routingPresenterThe RoutingPresenter responsible for presenting the controller
wireframeThe wireframe presenting the view controller
 - 
                  
                  
Event that indicates that a view controller was presented
Declaration
Swift
open func didPresent( controller: UIViewController, routeResult: RouteResult, routingPresenter: RoutingPresenter?, wireframe: Wireframe)Parameters
controllerThe view controller that will be presented
routePatternThe route pattern triggering the presentation
routingOptionThe RoutingOption describing how the controller will be presented
parametersThe parameters (data) extraced from the route, or given by the sender
routingPresenterThe RoutingPresenter responsible for presenting the controller
wireframeThe wireframe presenting the view controller
 
View on GitHub
        DefaultComposedRoutingObserver Class Reference