DefaultComposedRoutingOptionProvider
open class DefaultComposedRoutingOptionProvider : ComposedRoutingOptionProvider
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
public init() - 
                  
                  
Add an instance providing routing options for a route
Declaration
Swift
open func add(optionProvider: RoutingOptionProvider, priority: Int)Parameters
optionProviderinstance providing routing options for a route
priorityThe priority for calling your provider, higher priorities are called first. (Defaults to 0)
 - 
                  
                  
Provide a default routing option if your child providers are responsible for this route pattern parameter combination. The default behaviour should preserve a already determined option (currentOption) for this route pattern. But a RoutingOptionProvider can be used to replace a given option with an other option.
Declaration
Swift
open func option(routeResult: RouteResult) -> RoutingOption?Parameters
routePatternthe route pattern for which a routing option has to be determined
parameterssome additional data for creating the view controller presented by this routing option
currentOptionThe currently determined routing option - Be careful to overwrite it only on purpose
Return Value
A default routing option if you are responsible for this route, nil otherwise
 
View on GitHub
        DefaultComposedRoutingOptionProvider Class Reference