L-Sypniewski
7/9/2018 - 9:07 AM

ChainObservables.swift

//If you have 2 "rx" variables (drivers, observables etc) you can often chain them 
//without a need to write code in subscribe close. For example:

someObject.loadingState
                .drive(loadingStateMutable)
                .disposed(by: disposeBag)

//This will apply values from someObject.loadingState to a loadingStateMutable variable in a viewModel