Skip to content

Latest commit

 

History

History

mvvm-rxswift-subjects-observables

mvvm-rxswift-subjects-observables

This example uses RxSwift observables and subjects as binding mechanism between ViewModel and ViewController.

Implementation

The following image illustrates the bindings:

scenario

  • ViewModel inputs such as text field changes or UITableView row selection are defined as subjects ViewModel
  • ViewModel outputs are defined as Driver traits

Installation

Clone the repository:

git clone git@github.com:tailec/ios-architecture.git

Navigate to mvvm-rxswift-subjects-observables repository:

cd mvvm-rxswift-subjects-observables

Install dependencies:

pod install