Partager via


NSPersistentStoreCoordinator.Notifications Classe

Définition

Notification publiée par la NSPersistentStoreCoordinator classe.

public static class NSPersistentStoreCoordinator.Notifications
type NSPersistentStoreCoordinator.Notifications = class
Héritage
NSPersistentStoreCoordinator.Notifications

Remarques

Il s’agit d’une classe statique qui contient différentes méthodes d’assistance qui permettent aux développeurs d’observer les événements publiés dans le hub de notification iOS (NSNotificationCenter).

Les méthodes définies dans cette classe post-événements appellent la méthode ou lambda fournie avec un NSNotificationEventArgs paramètre qui contient des propriétés fortement typées pour les arguments de notification.

Méthodes

ObserveDidImportUbiquitousContentChanges(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la DidImportUbiquitousContentChangesNotification constante.

ObserveDidImportUbiquitousContentChanges(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la DidImportUbiquitousContentChangesNotification constante.

ObserveStoresDidChange(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la StoresDidChangeNotification constante.

ObserveStoresDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la StoresDidChangeNotification constante.

ObserveStoresWillChange(EventHandler<NSPersistentStoreCoordinatorStoreChangeEventArgs>)

Notification fortement typée pour la StoresWillChangeNotification constante.

ObserveStoresWillChange(NSObject, EventHandler<NSPersistentStoreCoordinatorStoreChangeEventArgs>)

Notification fortement typée pour la StoresWillChangeNotification constante.

ObserveWillRemoveStore(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la WillRemoveStoreNotification constante.

ObserveWillRemoveStore(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la WillRemoveStoreNotification constante.

S’applique à