RxSwift : BehaviorRelay in place of Variable usage
问题 I'm new to RxSwift and reading about subjects, I tried Variable Subject. Which in turns giving Warning in console ℹ️ [DEPRECATED] `Variable` is planned for future deprecation. Please consider `BehaviorRelay` as a replacement. Read more at: https://git.io/vNqvx Earlier I have declared Variable like this var searchItems = Variable<[MyClass]>([]) So i have done basic array operations from it's property called value as it was get set property like 1. self.searchItems.value.removeAll() 2. self