Xit depends on the case. State is the source of truth. So use StateObject in views where the data is created/captured. Other views should use ObservedObject to observe the state.Reply·Article·Sep 15, 2024·MVVM in SwiftUI
XNot necessarily. I’m using List for the .listStyle(.insetGrouped) view modifier. If you’re using Form, you can use .form(.grouped) for the same result.Reply·Article·May 14, 2023·Section and Navigation Link in SwiftUI