Contents

didSave

A notification that posts when the context finishes processing pending inserts, changes, and deletes.

Declaration

static let didSave: Notification.Name

Discussion

The notification’s userInfo dictionary contains the persistent identifiers of any inserted, updated, or deleted models. Use the appropriate key to access those identifiers. For more information, see ModelContext.NotificationKey.

See Also

Registering for notifications