RoutingOptionProvider
public protocol RoutingOptionProvider
                An instance providing a routing option, for a specific route pattern and parameter combinition. 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.
- 
                  
                  
Provide a default routing option if you 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
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
        RoutingOptionProvider Protocol Reference