_SwiftData_SwiftUI is a cross-import overlay that connects SwiftData with SwiftUI, providing the model query property wrappers and SwiftData-backed document groups used to drive SwiftUI views from a persistent store. Its ModelDocument struct backs document groups with SwiftData models, letting you build document-based apps on iOS, macOS, tvOS, watchOS, and visionOS whose contents are managed by SwiftData.
SwiftData-Backed Documents 1
A document type that backs SwiftUI document groups with a SwiftData model store.
- StModelDocumentA document type that uses SwiftData to manage its storage.
Structures 1
- StQueryiOS 17.0+A property wrapper that fetches a set of models and keeps those models in sync with the underlying
Extends 8
ModelContextAppStorageSceneStorageViewSceneDocumentGroupNewDocumentActionEnvironmentValues