NSPersistentStoreCoordinator.Notifications 类

定义

NSPersistentStoreCoordinator 发布的通知。

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

注解

这是一个静态类,其中包含各种帮助程序方法,开发人员可以使用这些方法观察 iOS 通知中心发布的事件 (NSNotificationCenter) 。

此类后事件中定义的方法使用 NSNotificationEventArgs 包含通知参数的强类型属性的参数调用提供的方法或 lambda。

方法

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

适用于