Apple has presented Combine - a reactive stream library: https://developer.apple.com/documentation/combine
Thats a great addition - my questions might be:
- Will this be part of the Core Libraries or Standard library?
- Why didn't it go beyond what existing Rx libraries provide?
To the last point: We introduced the
Result type so that we don't have to deal with 2 entry points (success and failure) in callbacks. Combine has separate entry points for success, failure and finished events. Why not consolidate this using the Result type?
Also, I would have hoped that Swifts version of Rx is more approachable - by using better namings. People new to reactive programming will be irritated by names like
CurrentValueSubject. Maybe something like
Property are more accessible to a broader audience.