Hi guys
We just tried to update to RAC 5, but it seems like there is no MutableProperty to be found. All our uses of MutableProperty gives error messages. We went and checked online and it seems like the file Property.swift in https://github.com/ReactiveCocoa/ReactiveCocoa/tree/master/ReactiveCocoa/Swift cannot be found. Could you please inform me as quickly as possible as to what is going on?
Regards,
Hermann Kuschke
We have moved the primitives into a separate module, and keep ReactiveCocoa focusing on Cocoa bindings and extensions going forward. So MutableProperty is now available in ReactiveSwift, which is now one of the dependency of ReactiveCocoa.
Thank you for your quick reply.
Please be noted that the Objective-C API, and the bridge between ReactiveObjC and ReactiveSwift would receive a similar deal (#3182). If your codebase depend on them, you might have to include them as separate dependencies.
Hi guys,
I'm having the same issue as @hermannkuschke. Looks like ReactiveSwift is being installed with ReactiveCocoa via cocoapods. I'm still getting the build errors about MutableProperty not being found. Am I missing a step? Thank you.
@justinvalley what we did was to not install them through cocoapods, but to instead include them as dependencies. We then manually ensured that ReactiveSwift's syntax conformed to that of Swift 3. This is just temporary though, but it works.
The podspec would include ReactiveSwift for you. But in your code, you would still need to explicitly import ReactiveSwift, since ReactiveCocoa does not reexport ReactiveSwift at this moment.
That solves the mystery. Thanks gents!
Most helpful comment
We have moved the primitives into a separate module, and keep ReactiveCocoa focusing on Cocoa bindings and extensions going forward. So
MutablePropertyis now available in ReactiveSwift, which is now one of the dependency of ReactiveCocoa.