State
public protocol State
Protocol for the state of the applications.
In Katana, all the relevant application information should be placed in a single
struct that has to implement the State
protocol.
-
Returns the initial configuration of the
State
implementation. It is used by Katana to create the very initial configuration of the application.Declaration
Swift
init()