Enumeration

NSKeyValueChange

The kinds of changes that can be observed.

Declaration

typedef enum NSKeyValueChange : NSUInteger {
    ...
} NSKeyValueChange;

Overview

These constants are returned as the value for a NSKeyValueChangeKindKey key in the change dictionary passed to observeValueForKeyPath:ofObject:change:context: indicating the type of change made.

Topics

Constants

NSKeyValueChangeSetting

Indicates that the value of the observed key path was set to a new value. This change can occur when observing an attribute of an object, as well as properties that specify to-one and to-many relationships.

NSKeyValueChangeInsertion

Indicates that an object has been inserted into the to-many relationship that is being observed.

NSKeyValueChangeRemoval

Indicates that an object has been removed from the to-many relationship that is being observed.

NSKeyValueChangeReplacement

Indicates that an object has been replaced in the to-many relationship that is being observed.