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:
Available in Mac OS X v10.3 and later.
C# | Visual Basic | Visual C++ |
public enum NSKeyValueChange
Public Enumeration NSKeyValueChange
public enum class NSKeyValueChange
Member | Description |
---|---|
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. Available in Mac OS X v10.3 and later. |
NSKeyValueChangeInsertion | Indicates that an object has been inserted into the to-many relationship that is being observed. Available in Mac OS X v10.3 and later. |
NSKeyValueChangeRemoval | Indicates that an object has been removed from the to-many relationship that is being observed. Available in Mac OS X v10.3 and later. |
NSKeyValueChangeReplacement | Indicates that an object has been replaced in the to-many relationship that is being observed. Available in Mac OS X v10.3 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)