Posted after a private queue context merges changes from another context, containing object IDs.
Only use this message type for contexts with `NSPrivateQueueConcurrencyType`.
For main queue contexts, use ``NSManagedObjectContext/DidMergeChangesMessage``.
Converts a posted notification into this asynchronous message type for any observers.
To implement this method in your own `AsyncMessage` conformance, retrieve values from the ``Notification``'s ``Notification/userInfo`` and set them as properties on the message.
- Parameter notification: The posted ``Notification``.
- Returns: The converted `AsyncMessage`, or `nil` if conversion is not possible.
get · iOS 27.0+
deletedIDs
TypeScript
get deletedIDs(): Array<NSManagedObjectID>
Swift declaration
let deletedIDs: Set<NSManagedObjectID>
Object IDs of objects that were deleted during the merge.
get · iOS 27.0+
updatedIDs
TypeScript
get updatedIDs(): Array<NSManagedObjectID>
Swift declaration
let updatedIDs: Set<NSManagedObjectID>
Object IDs of objects that were updated during the merge.
get · iOS 27.0+
insertedIDs
TypeScript
get insertedIDs(): Array<NSManagedObjectID>
Swift declaration
let insertedIDs: Set<NSManagedObjectID>
Object IDs of objects that were inserted during the merge.
get · iOS 27.0+
historyToken
TypeScript
get historyToken(): (NSPersistentHistoryToken) | null
Swift declaration
let historyToken: NSPersistentHistoryToken?
The persistent history token representing the state after the merge.
get · iOS 27.0+
refreshedIDs
TypeScript
get refreshedIDs(): Array<NSManagedObjectID>
Swift declaration
let refreshedIDs: Set<NSManagedObjectID>
Object IDs of objects that were refreshed during the merge.
get · iOS 27.0+
invalidatedIDs
TypeScript
get invalidatedIDs(): Array<NSManagedObjectID>
Swift declaration
let invalidatedIDs: Set<NSManagedObjectID>
Object IDs of objects that were invalidated during the merge.
get · iOS 27.0+
queryGeneration
TypeScript
get queryGeneration(): (NSQueryGenerationToken) | null
Converts a posted asynchronous message into a notification for any observers.
To implement this method in your own `AsyncMessage` conformance, use the properties defined by the message to populate the ``Notification``'s ``Notification/userInfo``.
- Parameters:
- message: The posted `AsyncMessage`.
- Returns: The converted ``Notification``.
get · iOS 27.0+
name
TypeScript
static get nameValue(): _Foundation_NSNotification_Name
Swift declaration
static let name: Notification.Name
A optional name corresponding to this type, used to interoperate with notification posters and observers.