Reading List
Data Tracking and Notifications in Core Data and SwiftData from Michael Tsai RSS feed.
Data Tracking and Notifications in Core Data and SwiftData
Fatbobman (Mastodon): [prepareForDeletion is called] when the managed object is about to be deleted, typically used for cleaning up resources or manually managing relationships. Note that this method is triggered before validateForDelete. If the deletion operation fails due to validation failure, changes made in this method may be rolled back.[…]However, because these operations are extensions […]