Is it possible to track history using the new HistoryDescriptor feature in SwiftData? Or can I only get the current most recent data? Or is it possible to output the changed data itself, along with timestamps?
I am hoping that it is possible to track by a standard feature like NSPersistentHistoryTransaction in CoreData.
Do we still have to use a method in SwiftData that creates more tracking data itself?
This seems to have been answered in the following post:
HistoryTransaction in SwiftData is pretty much the same as NSPersistentHistoryTransaction
in Core Data. Neither of the APIs keep the changed data for an update.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.