berk-san / MVVM-Sample

Login Screen with MVVM Design Pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVVM-Sample

  1. Create UI
  2. Create User Model
  3. Create LoginViewModel class
  4. Create ObservableObject class
  5. Create an instance of LoginViewModel in LoginVC
  6. Create NetworkService class
  7. Create login function in LoginViewModel that is going to be called by LoginVC
  8. Implement the property observer didSet to the value in the ObservableObject class
  9. Implement loginButton action
  10. Impplement binder
  11. Implement HomeViewModel
  12. Configure HomeVC and setup binder

About

Login Screen with MVVM Design Pattern


Languages

Language:Swift 100.0%