共用方式為


NSPersistentStoreCoordinator.Notifications 類別

定義

類別所張貼的 NSPersistentStoreCoordinator 通知。

public static class NSPersistentStoreCoordinator.Notifications
type NSPersistentStoreCoordinator.Notifications = class
繼承
NSPersistentStoreCoordinator.Notifications

備註

這是靜態類別,其中包含各種協助程式方法,可讓開發人員觀察張貼在 iOS 通知中樞的事件 (NSNotificationCenter) 。

這個類別中定義的方法會在事件後叫用提供的 方法或 Lambda,其中包含 NSNotificationEventArgs 通知引數的強型別屬性。

方法

ObserveDidImportUbiquitousContentChanges(EventHandler<NSNotificationEventArgs>)

常數的 DidImportUbiquitousContentChangesNotification 強型別通知。

ObserveDidImportUbiquitousContentChanges(NSObject, EventHandler<NSNotificationEventArgs>)

常數的 DidImportUbiquitousContentChangesNotification 強型別通知。

ObserveStoresDidChange(EventHandler<NSNotificationEventArgs>)

常數的 StoresDidChangeNotification 強型別通知。

ObserveStoresDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常數的 StoresDidChangeNotification 強型別通知。

ObserveStoresWillChange(EventHandler<NSPersistentStoreCoordinatorStoreChangeEventArgs>)

常數的 StoresWillChangeNotification 強型別通知。

ObserveStoresWillChange(NSObject, EventHandler<NSPersistentStoreCoordinatorStoreChangeEventArgs>)

常數的 StoresWillChangeNotification 強型別通知。

ObserveWillRemoveStore(EventHandler<NSNotificationEventArgs>)

常數的 WillRemoveStoreNotification 強型別通知。

ObserveWillRemoveStore(NSObject, EventHandler<NSNotificationEventArgs>)

常數的 WillRemoveStoreNotification 強型別通知。

適用於