persistentStoreCoordinator
TypeScriptget persistentStoreCoordinator(): NSPersistentStoreCoordinatorSwift declarationlet persistentStoreCoordinator: NSPersistentStoreCoordinatorstruct · iOS 27.0+ · SDK 27.1
struct StoresDidChangeAsyncMessagePosted when stores are added to or removed from the persistent store coordinator on a background queue.
get persistentStoreCoordinator(): NSPersistentStoreCoordinatorSwift declarationlet persistentStoreCoordinator: NSPersistentStoreCoordinatorget uuidChangedStores(): ({ "oldValue": NSPersistentStore; "newValue": NSPersistentStore }) | nullSwift declarationvar uuidChangedStores: (oldValue: NSPersistentStore, newValue: NSPersistentStore)? { get }static makeMessage(notification: _Foundation_Notification): (NSPersistentStoreCoordinator_StoresDidChangeAsyncMessage) | nullSwift declarationstatic func makeMessage(_ notification: Notification) -> NSPersistentStoreCoordinator.StoresDidChangeAsyncMessage?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 addedStores(): Array<NSPersistentStore>Swift declarationvar addedStores: [NSPersistentStore] { get }Stores that were added during this change.
get removedStores(): Array<NSPersistentStore>Swift declarationvar removedStores: [NSPersistentStore] { get }Stores that were removed during this change.
static makeNotification(message: NSPersistentStoreCoordinator_StoresDidChangeAsyncMessage): _Foundation_NotificationSwift declarationstatic func makeNotification(_ message: NSPersistentStoreCoordinator.StoresDidChangeAsyncMessage) -> 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.
No declarations were skipped in this snapshot.