This is a maintenance release of ReactiveCocoa 5.x. It targets Swift 3.1.
Changes
-
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. -
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.
Acknowledgements
Kudos to @mdiep, @sharplet and @andersio who helped review the pull requests and contribute to the documentations.