SwiftUI Tutorials: MVVM

MVVM
clear
  • 10

    SwiftUI MVVM Programming with ObservableObject @Published @ObservedObject [17:57]

    MVVM programming with View Models is the new pattern that Apple is recommending developers follow after WWDC this year. I want to go over a very quick example of setting up an ObservableObject with Published properties to trigger UI refreshes in your app.

    YouTube - Lets Build That App
  • 8

    MVVM in SwiftUI

    SwiftUI does not follow MVC architecture. This means when you create a brand new application in Xcode 11 and enable SwiftUI, it does not create any controllers. This does not mean that you can’t use MVC design pattern with SwiftUI, it simply means maybe a different pattern (MVVM) can better suite your needs.

    Medium - Mohammad Azam