One Logo Pool Ball
CoreData · IOS API REFERENCE

NSPersistentCloudKitContainer.EventChangedMessage

struct · iOS 27.0+ · SDK 27.1

struct EventChangedMessage

Posted when a CloudKit event occurs on the CloudKit private serial queue.

Members (4)

static · iOS 27.0+

makeMessage

TypeScript
static makeMessage(notification: _Foundation_Notification): (NSPersistentCloudKitContainer_EventChangedMessage) | null
Swift declaration
static func makeMessage(_ notification: Notification) -> NSPersistentCloudKitContainer.EventChangedMessage?

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.

static · iOS 27.0+

makeNotification

TypeScript
static makeNotification(message: NSPersistentCloudKitContainer_EventChangedMessage): _Foundation_Notification
Swift declaration
static func makeNotification(_ message: NSPersistentCloudKitContainer.EventChangedMessage) -> Notification

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: NSNotification.Name

A optional name corresponding to this type, used to interoperate with notification posters and observers.

get · iOS 27.0+

event

TypeScript
get event(): NSPersistentCloudKitContainer_Event
Swift declaration
let event: NSPersistentCloudKitContainer.Event

The CloudKit event that triggered this notification.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreData types →