Connectable
public protocol ConnectableMakes a view “connectable” to the application state.
This should not be used directly. Instead, use ConnectableView. This protocol isn’t combined into ConnectableView due to a possible bug in Swift that throws an invalid assocated type if Props isn’t explicitly typealiased.
- 
                  
                  Undocumented DeclarationSwift associatedtype State
- 
                  
                  Undocumented DeclarationSwift associatedtype Props : Equatable
- 
                  map(state:Default implementation) Map a superstate to the state needed by the view using the provided parameter. The method can return nil until the state becomes available. While it is nil, the view will not be rendered. Default ImplementationDefault implementation. Returns nil. ParametersstateThe superstate provided to the view from a superview. Return ValueThe state if possible. 
- 
                  map(state:Default implementationbinder: ) Map a superstate to the state needed by the view using the provided parameter. The method can return nil until the state becomes available. While it is nil, the view will not be rendered. Default ImplementationDefault implementation. Calls the other map function. DeclarationSwift func map(state: State, binder: ActionBinder) -> Props?ParametersstateThe superstate provided to the view from a superview. binderHelper that creates Binding types beteen the state and a dispatcable action Return ValueThe state if possible. 
 View on GitHub
View on GitHub Connectable Protocol Reference
        Connectable Protocol Reference