This release is meant for use with Xcode 7.1.x and Swift 2.1.
🚧 Remember, RAC 4 is alpha software! 🚧
Expect breaking changes in subsequent alpha releases.
See the CHANGELOG to learn more about the major changes between ReactiveCocoa versions 3 and 4.
New features:
- Moved
flatMapErrortoSignal(#2531 thanks @NachoSoto and @neilpa for the review!) - Using
fatalErrorinstead ofassert(false)(#2534 thanks @NachoSoto and @neilpa for the review!) - [breaking change] Changed
toRACSignalfrom free function to protocol extension onSignalType/SignalProducerType(#2544 thanks @NachoSoto and @neilpa for the review!) - Added
Signal.merge(signals: [Signal<T, E>])(#2526 thanks @NachoSoto and @JaviSoto, @neilpa for the review!) - Moved
onoperator toSignal(#2572 thanks to @NachoSoto and @neilpa, @jspahrsummers for the review!) - Added new
skipUntiloperator (#2576 thanks to @cesteban and @NachoSoto for the review!)
Improvements
- Don't sign framework for simulators (#2520 thanks @gfontenot and @neilpa for the review!)
- Changed some
classmethods/properties tostatic(#2547 thanks @NachoSoto and @ikesyo for the review!) - Updated
Resultto1.0(#2573 thanks to @gfontenot!) - New logo! (#2574 thanks to @kaishin!)
- Optimized
BufferState.addValue(#2580 thanks to @Adlai-Holler and @NachoSoto for the review!) - Various code improvements to
Bag(#2577 thanks @NachoSoto and @mdiep for the review!)
Bug fixes
- Changed
@importto#importfor Objective-C++ compatibility (#2524 thanks @ianthehenry and @NachoSoto for the review!) - Fixed race-condition in
SignalProducer.sampleOn(SignalProducer)(#2560 #2571 thanks to @neilpa and @NachoSoto!)