SwiftUI MVVM

Filter by category
Filter by tag
284

SwiftUI and Core Data: The MVVM Way

Feb 3, 2021Mattia Righetti
  • MVVM
  • CoreData
2K

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.

Jun 10, 2019Mohammad Azam
1K

SwiftUI MVVM Programming with ObservableObject @Published @ObservedObject

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.

Sep 28, 2019Lets Build That App
1K

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.

Sep 28, 2019Lets Build That App
459

SwiftUI-MVVM

One of the biggest idea for having MVVM is that most of data flow can be testable. Data binding in view layer by SwiftUI is awesome. However, this project has view model layer to make it testable as much as possible.

Created: Jun 5, 2019Last commit: Aug 8, 2019kitasuke
413

Three different architectures (Model-View, Redux, MVVM) for using SwiftUI implemented at the example of a chat app

Created: Nov 12, 2019Last commit: Dec 8, 2019quickbirdstudios
81

Improves upon the original Weather app using SwiftUI. It allows users to call up the current weather and daily forecast for a particular location using the Dark Sky API.

Created: Jun 13, 2019Last commit: Nov 2, 2020bobbyconti
56

Example project of SwiftUI and Combine using MVVM architecture pattern.

Created: Jun 20, 2019Last commit: Nov 30, 2019PPacie