Selectors
-
Something which selects a
See moreValue
from the specifiedState
.Declaration
Swift
public protocol SelectorProtocol
-
A type which takes a
State
and returns aValue
from it.
See moreSelector
s can be based on otherSelector
s making it possible to select a combinedValue
.Declaration
Swift
public class Selector<State, Value> : SelectorProtocol
-
Declaration
Swift
public class Selector1<State, S1, Value>: Selector<State, Value> where S1: SelectorProtocol, S1.State == State
-
Declaration
Swift
public class Selector2<State, S1, S2, Value>: Selector<State, Value> where S1: SelectorProtocol, S1.State == State, S2: SelectorProtocol, S2.State == State
-
Declaration
Swift
public class Selector3<State, S1, S2, S3, Value>: Selector<State, Value> where S1: SelectorProtocol, S1.State == State, S2: SelectorProtocol, S2.State == State, S3: SelectorProtocol, S3.State == State
-
Declaration
Swift
public class Selector4<State, S1, S2, S3, S4, Value>: Selector<State, Value> where S1: SelectorProtocol, S1.State == State, S2: SelectorProtocol, S2.State == State, S3: SelectorProtocol, S3.State == State, S4: SelectorProtocol, S4.State == State
-
Declaration
Swift
public class Selector5<State, S1, S2, S3, S4, S5, Value>: Selector<State, Value> where S1: SelectorProtocol, S1.State == State, S2: SelectorProtocol, S2.State == State, S3: SelectorProtocol, S3.State == State, S4: SelectorProtocol, S4.State == State, S5: SelectorProtocol, S5.State == State