Functions

The following functions are available globally.

  • Links text field to data flow

    • parameters:

      • left: Text field.
      • right: DataFlow object.
    See more

    Declaration

    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 more

    Declaration

    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

    DataFlow from source to destination.