Functions
The following functions are available globally.
-
Links text field to data flow
See moreDeclaration
Swift
public func <&> < DS: FlowDataSource, DD: FlowDataDestination where DS.ResultType == DD.DataType, DS.QueryType == String > (left: UITextField, right: DataFlow<DS, DD>) -> TextFieldReactor<DS, DD>
Parameters
left
text field
right
DataFlow object
Return Value
TextFieldReactor object
-
Creates data flow from compatatible data source to data destination
See moreDeclaration
Swift
public func *> < DS: FlowDataSource, DD: FlowDataDestination where DS.ResultType == DD.DataType > (left: DS, right: DD) -> DataFlow<DS, DD>
Parameters
left
Object of type that comply to FlowDataSource protocol
right
Object of type that comply to FlowDataDestination protocol
Return Value
Data flow from source to destination