This example uses RxSwift both observables and subjects as binding mechanism between ViewModel and ViewController.
The following image illustrates the bindings:
ViewModelinputs such as text field changes orUITableViewrow selection are defined as swift functions which are simply wrappers for subjects inViewModelViewModeloutputs are defined asDrivertraits
Clone the repository:
git clone git@github.com:tailec/ios-architecture.git
Navigate to mvvm-rxswift-functions-subjects-observables directory:
cd mvvm-rxswift-functions-subjects-observables
Install dependencies:
pod install
