Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public protocol RouteBase : UIViewController
  • 需要通过路由解耦的 UIViewController 实现此协议后,路由中心将会自动完成组件的注册

    See more

    Declaration

    Swift

    public protocol Routable : RouteBase
  • 实现RouteErrorHandling完成路由错误的集中处理

    See more

    Declaration

    Swift

    public protocol RouteErrorHandling
  • Undocumented

    See more

    Declaration

    Swift

    public protocol RouteInterceptor
  • Types adopting the URLComponentsConvertible protocol can be used to construct URLComponentss, which can then be used to route.

    See more

    Declaration

    Swift

    public protocol URLComponentsConvertible