TNRouteProtocol

public protocol TNRouteProtocol

Use this protocol to define routers as enums.

  • Configure your router by setting this function. See Examples/Routers/CityRoute.swift for an example.

    Declaration

    Swift

    func configure() -> TNRouteConfiguration

    Return Value

    A TNRouteConfiguration object for each route.