Thank so much. This helped. In my case it makes sense to use @StateObject because the view creates and owns the view model. @ObservedObject is used when someone else is holding the observed object.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: