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
mapControlEventsin general unless the state of the control — e.g.text,state— is not concerned. In other words, you should avoid usingmapon a control event signal to extract the state from the control. -
Resigning first responder when reacting to a
UITextFieldsignal no longer deadlocks. (#3453, #3472) -
New operator:
take(duringLifetimeOf:). (#3466, kudos to @andersio)
It is available onSignalandSignalProducer, 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.