MENU

Fun & Interesting

WWDC23: Build an app with SwiftData | Apple

Apple Developer 12,822 lượt xem 10 months ago
Video Not Working? Fix It Now

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: https://developer.apple.com/documentation/SwiftUI/Building-a-document-based-app-using-SwiftData
What’s new in SwiftUI: https://developer.apple.com/videos/play/wwdc2023/10148
Discover Observation in SwiftUI: https://developer.apple.com/videos/play/wwdc2023/10149
Meet SwiftData: https://developer.apple.com/videos/play/wwdc2023/10187
Migrate to SwiftData: https://developer.apple.com/videos/play/wwdc2023/10189
Model your schema with SwiftData: https://developer.apple.com/videos/play/wwdc2023/10195
Dive deeper into SwiftData: https://developer.apple.com/videos/play/wwdc2023/10196

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: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp

Comment