Skip to content

omercankoc/mvvm-architecture-uikit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Model - View - ViewModel Architecture with UIKit

What is MVVM?

MVVM is a design pattern we use to separate layers from each other and manage relationships between these layers. MVVM consists of three basic structures: Model, View, and ViewModel.

  • Model : They are classes or structures that we create to represent data pulled from web services, databases, or different data sources.
  • View : These are the classes that contain the codes of the interfaces that the user interacts with. Logic operations are not performed in these classes. The purpose of these classes is to Observe the data we want from the ViewModel.
  • ViewModel : Classes that provide communication between View and Models. Logic operations are performed in these classes. A request is made from the View and certain logic and data sources are provided in the ViewModel. The results of the changes related to the data we created in this layer are Observed in the View.

About

  • MVVM
  • UIKit
  • Table View
  • Search Bar
  • Segue

Releases

No releases published

Packages

No packages published

Languages