WWDC23: Build an app with SwiftData | Apple
Вставка
- Опубліковано 30 чер 2024
- 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.apple.com/documenta...
What’s new in SwiftUI: developer.apple.com/videos/pl...
Discover Observation in SwiftUI: developer.apple.com/videos/pl...
Meet SwiftData: developer.apple.com/videos/pl...
Migrate to SwiftData: developer.apple.com/videos/pl...
Model your schema with SwiftData: developer.apple.com/videos/pl...
Dive deeper into SwiftData: developer.apple.com/videos/pl...
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/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp - Наука та технологія