Created
July 9, 2018 09:07
-
-
Save L-Sypniewski/73176b9996f3201df5cb44d378e04ce3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment