ComposedControllerProvider
public protocol ComposedControllerProvider : ControllerProvider
Undocumented
-
Returns the highest priority of a responsible child controller provider
Declaration
Swift
func priorityOfHighestResponsibleProvider(routeResult: RouteResult) -> Int?Parameters
routeResulta RouteResult
routingOptiona RoutingOption
Return Value
nil if none was found, highest priority if a responsible provider was found
-
Add an instance providing a controller for a route
Declaration
Swift
func add(controllerProvider: ControllerProvider, priority: Int)Parameters
controllerProviderinstance providing a controller
priorityThe priority for calling your provider, higher priorities are called first. (Defaults to 0)
View on GitHub
ComposedControllerProvider Protocol Reference