RoutingDelegate

public protocol RoutingDelegate

Undocumented

  • An instance observing controllers before they are presented

    Declaration

    Swift

    var routingObserver: RoutingObserver? { get set }
  • Event that indicates that a view controller will be presented

    Declaration

    Swift

    func willPresent(controller: UIViewController, routeResult: RouteResult, routingPresenter: RoutingPresenter?, wireframe: Wireframe) throws

    Parameters

    controller

    The view controller that will be presented

    routePattern

    The route pattern triggering the presentation

    routingOption

    The RoutingOption describing how the controller will be presented

    parameters

    The parameters (data) extraced from the route, or given by the sender

    routingPresenter

    The RoutingPresenter responsible for presenting the controller

    wireframe

    The wireframe presenting the view controller

  • Event that indicates that a view controller was presented

    Declaration

    Swift

    func didPresent(controller: UIViewController, routeResult: RouteResult, routingPresenter: RoutingPresenter?, wireframe: Wireframe)

    Parameters

    controller

    The view controller that will be presented

    routePattern

    The route pattern triggering the presentation

    routingOption

    The RoutingOption describing how the controller will be presented

    parameters

    The parameters (data) extraced from the route, or given by the sender

    routingPresenter

    The RoutingPresenter responsible for presenting the controller

    wireframe

    The wireframe presenting the view controller