Protocols

The following protocols are available globally.

  • Defines view controller cache lifetime.

    See more

    Declaration

    Swift

    public protocol Lifetime: class
  • Acts as factory for embedding view controllers.

    See more

    Declaration

    Swift

    public protocol EmbeddingProtocol
  • Used in route matching.

    See more

    Declaration

    Swift

    public protocol Matchable
  • It ensures that route can be accessed via matchable type, e.g. string or URL

    See more

    Declaration

    Swift

    public protocol Routable: AnyDestination