WWDC 2024 · Session 详情

Track model changes with SwiftData history

WWDC 2024 · 16:52 · 2,230 字逐字稿

Track model changes with SwiftData history — WWDC 2024

关于这场 Session

Reveal the history of your model's changes with SwiftData! Use the history API to understand when data store changes occurred, and learn how to use this information to build features like remote server sync and out-of-process change handing in your app. We'll also cover how you can build support for the history API into a custom data store.

话题
App 服务Swift
平台
iOSiPadOSmacOStvOSvisionOSwatchOS
关键词
historydescriptorhistoryprovidinghistory trackingmodel changesnspersistenthistorytrackingkeypersistent historytransactions