WWDC23: Dive deeper into SwiftData | Apple

WWDC23: Dive deeper into SwiftData | Apple

4.076 Lượt nghe
WWDC23: Dive deeper into SwiftData | Apple
Learn how you can harness the power of SwiftData in your app. Find out how ModelContext and ModelContainer work together to persist your app’s data. We’ll show you how to track and make your changes manually and use SwiftData at scale with FetchDescriptor, SortDescriptor, and enumerate. To get the most out of this session, we recommend first watching "Meet SwiftData" and "Model your schema with SwiftData" from WWDC23. Explore related documentation, sample code, and more: SwiftData: https://developer.apple.com/documentation/SwiftData Adopting SwiftData for a Core Data app: https://developer.apple.com/documentation/coredata/adopting_swiftdata_for_a_core_data_app Discover Observation in SwiftUI: https://developer.apple.com/videos/play/wwdc2023/10149 Build an app with SwiftData: https://developer.apple.com/videos/play/wwdc2023/10154 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 00:00 - Intro 03:42 - Configuring persistence 07:21 - Track and persist changes 11:20 - Modeling at scale 14:54 - Wrap-up 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