Login required for access
In order to watch this lesson, you'll need to login to the website.
View Models with ObservableObject Published ObservedObject
Maps UIKit SwiftUI
In order to keep our views clean and lean, we want to remove all unnecessary fetching code from them. In this lesson, I'll go over how to create view model objects that help fetch data from the internet. Lastly, we'll need to watch and listen for changes within these view models. To do this, we'll implement our view model as an @ObservedObject.

Comments (1)
4 years ago
HELP & SUPPORT