persistentStoreCoordinator
TypeScriptget persistentStoreCoordinator(): NSPersistentStoreCoordinatorSwift declarationlet persistentStoreCoordinator: NSPersistentStoreCoordinatorstruct · iOS 27.0+ · SDK 27.1
struct RemoteChangeMessagePosted when a store receives a remote change notification from another process.
get persistentStoreCoordinator(): NSPersistentStoreCoordinatorSwift declarationlet persistentStoreCoordinator: NSPersistentStoreCoordinatorstatic makeMessage(notification: _Foundation_Notification): (NSPersistentStoreCoordinator_RemoteChangeMessage) | nullSwift declarationstatic 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 historyToken(): (NSPersistentHistoryToken) | nullSwift declarationlet historyToken: NSPersistentHistoryToken?The persistent history token representing the state after the remote change.
static makeNotification(message: NSPersistentStoreCoordinator_RemoteChangeMessage): _Foundation_NotificationSwift declarationstatic func makeNotification(_ message: NSPersistentStoreCoordinator.RemoteChangeMessage) -> NotificationConverts 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``.
static get nameValue(): _Foundation_NSNotification_NameSwift declarationstatic let name: Notification.NameA optional name corresponding to this type, used to interoperate with notification posters and observers.
get storeURL(): stringSwift declarationlet storeURL: URLThe URL of the store that changed.
get storeUUID(): stringSwift declarationlet storeUUID: StringThe UUID of the store that changed.
No declarations were skipped in this snapshot.