One Logo Pool Ball
CoreData · IOS API REFERENCE

NSPersistentStoreCoordinator.RemoteChangeMessage

struct · iOS 27.0+ · SDK 27.1

struct RemoteChangeMessage

Posted when a store receives a remote change notification from another process.

Members (7)

get · iOS 27.0+

persistentStoreCoordinator

TypeScript
get persistentStoreCoordinator(): NSPersistentStoreCoordinator
Swift declaration
let persistentStoreCoordinator: NSPersistentStoreCoordinator
static · iOS 27.0+

makeMessage

TypeScript
static makeMessage(notification: _Foundation_Notification): (NSPersistentStoreCoordinator_RemoteChangeMessage) | null
Swift declaration
static func makeMessage(_ notification: Notification) -> NSPersistentStoreCoordinator.RemoteChangeMessage?

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+

historyToken

TypeScript
get historyToken(): (NSPersistentHistoryToken) | null
Swift declaration
let historyToken: NSPersistentHistoryToken?

The persistent history token representing the state after the remote change.

static · iOS 27.0+

makeNotification

TypeScript
static makeNotification(message: NSPersistentStoreCoordinator_RemoteChangeMessage): _Foundation_Notification
Swift declaration
static func makeNotification(_ message: NSPersistentStoreCoordinator.RemoteChangeMessage) -> 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: Notification.Name

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

get · iOS 27.0+

storeURL

TypeScript
get storeURL(): string
Swift declaration
let storeURL: URL

The URL of the store that changed.

get · iOS 27.0+

storeUUID

TypeScript
get storeUUID(): string
Swift declaration
let storeUUID: String

The UUID of the store that changed.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreData types →