Skip to content
Augmented Code

Augmented Code

Performant, sleek and elegant.

  • Home
  • Drifty Asteroid
  • Signal Path
  • Blog
  • Contact
  • About

Tag: List

Posted on January 19, 2020August 16, 2020

Using CoreData with SwiftUI

CoreData is Apple's object graph and persistence framework. It provides data sources for synchronising data with view. Let's take a look on how to use those data sources in SwiftUI views. Starting with NSFetchedResultsController what is used for list and collection views, after that observing NSManagedObject directly from SwiftUI view and lastly subscribing to managed …

Continue reading "Using CoreData with SwiftUI"

Posted on January 5, 2020August 16, 2020

MVVM in SwiftUI

mvvm-sample-app

Let's build a simple app using MVVM (model-view-view model) where every SwiftUI view has its own view model. It's going to be an app with two views: list of movies and add a movie view what utilises Form view. Added movies are stored in MovieStore which is shared by the two view models. We will …

Continue reading "MVVM in SwiftUI"

  • Facebook
  • Twitter
  • LinkedIn
  • Email
Blog at WordPress.com.