Short note on MVVM

Page content

What goes where in MVVM? Model:

  • Entities(CoreData Model, RealmDB Model)
  • Persistence
  • Network calls(Webservice) Maybe.

View(Presentation):

  • UI
  • Push Data updates
  • Event triggers

ViewModel(Behavior):

  • View state
  • validation
  • value transformation
  • actions