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/documenta...
What’s new in SwiftUI: https://developer.apple.com/videos/pl...
Discover Observation in SwiftUI: https://developer.apple.com/videos/pl...
Meet SwiftData: https://developer.apple.com/videos/pl...
Migrate to SwiftData: https://developer.apple.com/videos/pl...
Model your schema with SwiftData: https://developer.apple.com/videos/pl...
Dive deeper into SwiftData: https://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: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp
Смотрите видео WWDC23: Build an app with SwiftData | Apple онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Apple Developer 08 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,960 раз и оно понравилось 261 людям.