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
Signal.debounce()
/SignalProducer.debounce()
for sending valuesinterval
seconds apart (#2952, thanks @mdiep and @natestedman!)ObserverType
protocol for type-constrained extensions ofObserver
(#2992, thanks @natestedman!)flatten()
variants that operate onSequenceType
s (#2975, thanks @miikegb!)
Fixed
- Binding a producer to a
MutablePropertyType
leaked memory (#2961, thanks @github-user32!) zip()
d producers didn’t complete after both sources completed (#2972, thanks @andersio!)then()
didn’t forward interruptions from the original producer (#2987, thanks @sharplet!)TestScheduler
didn’t have the correctcurrentDate
while advancing (#2991, thanks @inamiy!).