ReactiveCocoa v5.0.4 Release Notes
-
🚦 1. UITextField text signals now react to
editingDidEndOnExit
. (#3474)- Introduce
mapControlEvents(_:_:)
which is set to replacecontrolEvents(_:_:)
in most cases. (#3472)
You should use
mapControlEvents
in general unless the state of the control — e.g.text
,state
— is not concerned. In other words, you should avoid usingmap
on a control event signal to extract the state from the control.🚦 1. Resigning first responder when reacting to a
UITextField
signal no longer deadlocks. (#3453, #3472)- New operator:
take(duringLifetimeOf:)
. (#3466, kudos to @andersio) It is available onSignal
andSignalProducer
, and supports both Objective-C and native Swift objects.
- Introduce