RIBs icon indicating copy to clipboard operation
RIBs copied to clipboard

[iOS] Replace RxSwift Variable with BehaviorRelay

Open dangthaison91 opened this issue 7 years ago • 1 comments

From RxSwift 4.0, Variable is marked as DEPRECATED and will be removed soon. We should update LeadDetector to using BehaviorRelay. Currently, you will receive its warning when you launch your app.

Caused BehaviorRelay is a part of RxCocoa, we have to add RxCocoa as a dependency in podspec. Another option is only to pull BehaviorRelay's code from RxSwift source and add it to current Uber RIBs. I voted for option 2 because current BehaviorRelay code is simple and seem not to change in the future.

dangthaison91 avatar Oct 15 '18 12:10 dangthaison91

The iOS implementation now has a new home https://github.com/uber/RIBs-iOS/

This issue was migrated to https://github.com/uber/RIBs-iOS/issues/38

We can close this thread.

alexvbush avatar Aug 30 '25 21:08 alexvbush