Protocols
The following protocols are available globally.
-
This protocol is to be appliead to every UIViewController that is a rootViewController of a Coordinator.
See moreDeclaration
Swift
public protocol Coordinated : AnyObject -
This protocol is the base for every Coordinator, which is to encapsulate the rootViewController and be able to be coordinated by a parent Coordinator
See moreDeclaration
Swift
public protocol Coordinating : Coordinated, HasEvents
-
Base protocol for AppDependencies, use this as the base of your AppDependecies struct to make it work with the Coordinators.
Declaration
Swift
public protocol AppDependenciesProtocol -
This protocol is for intern use only, do no use it.
See moreDeclaration
Swift
public protocol HasDependenciesProtocol : AnyObject -
Use this protocol in your Coordinators to enable automatic dependency injection
See moreDeclaration
Swift
public protocol HasDependencies : HasDependenciesProtocol
-
Base protocol to be used on the enums that define events
Declaration
Swift
public protocol CoordinateEvents -
Protocol to be used in any Class that needs to emit and intercept events
See moreDeclaration
Swift
public protocol HasEvents : AnyObject
-
Protocol to indicate your Coordinator has Routes. Future implementation will try and base on this to provide ways of managing routing easier
See moreDeclaration
Swift
public protocol HasRoutes : AnyObject
View on GitHub
Install in Dash
Protocols Reference