Modifica

Condividi tramite


NSManagedObjectContext.Notifications Class

Definition

Notification posted by the NSManagedObjectContext class.

public static class NSManagedObjectContext.Notifications
type NSManagedObjectContext.Notifications = class
Inheritance
NSManagedObjectContext.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveDidSave(EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the DidSaveNotification constant.

ObserveDidSave(NSObject, EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the DidSaveNotification constant.

ObserveObjectsDidChange(EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the ObjectsDidChangeNotification constant.

ObserveObjectsDidChange(NSObject, EventHandler<NSManagedObjectChangeEventArgs>)

Strongly typed notification for the ObjectsDidChangeNotification constant.

ObserveWillSave(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSaveNotification constant.

ObserveWillSave(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillSaveNotification constant.

Applies to