This example uses RxSwift observables and subjects as binding mechanism between ViewModel
and ViewController
.
The following image illustrates the bindings:
ViewModel
inputs such as text field changes orUITableView
row selection are defined as subjectsViewModel
ViewModel
outputs are defined asDriver
traits
Clone the repository:
git clone [email protected]:tailec/ios-architecture.git
Navigate to mvvm-rxswift-subjects-observables
repository:
cd mvvm-rxswift-subjects-observables
Install dependencies:
pod install