Slide 16
Slide 16 text
Unidirectional MVVM architecture explained
1. The ViewController is purely the View
2. The ViewModel doesn't know the View exists, but is bound to it
3. The View owns the ViewModel, which in turn owns the Model (no tight
coupling between the View and the Model)
4. The ViewModel is responsible for updating the Model
5. Thus, when a property is updated on the Model, it notifies the ViewModel,
which invokes a callback function that updates the View
@jacquelionroars