WWDC 2024 · Session 详情

What’s new in SwiftData

WWDC 2024 · 14:01 · 2,163 字逐字稿

What’s new in SwiftData — WWDC 2024

关于这场 Session

SwiftData makes it easy to add persistence to your app with its expressive, declarative API. Learn about refinements to SwiftData, including compound uniqueness constraints, faster queries with #Index, queries in Xcode previews, and rich predicate expressions. Join us to explore how you can use all of these features to express richer models and improve performance in your app. To discover how to build a custom data store or use the history API in SwiftData, watch “Create a custom data store with SwiftData” and “Track model changes with SwiftData history”.

话题
App 服务Swift
平台
iOSiPadOSmacOStvOSvisionOSwatchOS
关键词
datastoreexpressionindexpreservevalueondeletionunique