Рет қаралды 9,279
Discover how SwiftData can help you persist data in your app. Code along with us as we bring SwiftData to a multi-platform SwiftUI app. Learn how to convert existing model classes into SwiftData models, set up the environment, reflect model layer changes in UI, and build document-based applications backed by SwiftData storage.
To get the most out of this session, you should be familiar SwiftData. For an introduction, check out "Meet SwiftData" from WWDC23.
Explore related documentation, sample code, and more:
Building a document-based app using SwiftData: developer.appl...
What’s new in SwiftUI: developer.appl...
Discover Observation in SwiftUI: developer.appl...
Meet SwiftData: developer.appl...
Migrate to SwiftData: developer.appl...
Model your schema with SwiftData: developer.appl...
Dive deeper into SwiftData: developer.appl...
00:00 - Meet the app
03:09 - SwiftData models
05:30 - Querying models to display in UI
09:43 - Creating and updating
12:30 - Document-based apps
More Apple Developer resources:
Video sessions: apple.co/Video...
Documentation: apple.co/Devel...
Forums: apple.co/Devel...
App: apple.co/Devel...