Post

Replies

Boosts

Views

Activity

Reply to SwiftData Autosave and Last Updated Timestamp
The ModelContext emits the willSave and didSave events to the NotificationCenter. You can observe these and set a last updated time on your models. Each event includes the insertions, updates, and deletions which can come in handy.
Replies
Boosts
Views
Activity
Dec ’24