github ReactiveCocoa/ReactiveCocoa v4.2.0
v4.2

latest releases: 12.0.0, 11.2.2, 11.2.1...
7 years ago

This release is meant for use with Xcode 7.3.x and Swift 2.2.x. See v4.0.1 for Swift 2.1 support.

Swift

Added

Improved

  • SignalProducer.replayLazily() no longer uses NSObject (#2811, thanks @ikesyo!)
  • NSNotificationCenter.rac_notifications() will now interrupt if the object deallocates before the producer starts (#2859, thanks @ikesyo and @andymatuschak!)
  • <~ will now automatically bridge values to Objective-C (#2551, thanks @sharplet!)

Fixed

  • Memory leak in SignalProducer.lift(), which is used internally in many operators (#2800, thanks @ikesyo and @trifonov-ivan!)
  • Recursive observation of MutablePropertys (#2764, thanks @andersio and @olegshnitko!)
  • Replace uses of spinlocks because they’re not safe on some devices (#2670, thanks @Adlai-Holler!)
  • Potential deadlock in SignalProducer.buffer() (#2900, thanks @mdiep!)
  • SignalProducer.replayLazily() won’t interrupt while there are active subscriptions (#2903, thanks @mdiep!)
  • Retain cycle with Action.unsafeCocoaAction (#2910, thanks @mdiep!)
  • UIScheduler now delivers events on the main queue (#2912, thanks @ikesyo!)

Objective-C

Added

  • RACDelegateProxy is now public (#2869, thanks @mdiep!)

Improved

  • RACCommand now specifies that its InputType is contravariant (#2696, thanks @erichoracek!)

Fixed

  • Behavior of -[RACSequence foldRightWithStart:reduce:] (#2777, thanks @ikesyo!)
  • Memory leak in -[UIControl rac_signalForControlEvents:] (#2797, thanks @vagase!)
  • Memory leak in RACSubject (#2845, thanks @ikesyo and @tzongw!)
  • Retaining of signals in -[RACSignal bind:], which underpins most operators (#2935, thanks @tzongw!)

Don't miss a new ReactiveCocoa release

NewReleases is sending notifications on new releases.