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)
3 years ago
This course is astonishingly by far better than I had expected when I started. Full of what the doctor ordered for those studying iOS app development like me. Thanks for this marvelous course!