Instance Property

observationInfo

Returns a pointer that identifies information about all of the observers that are registered with the observed object.

Declaration

@property void *observationInfo;

Return Value

A pointer that identifies information about all of the observers that are registered with the observed object, the options that were used at registration-time, and so on.

Discussion

The default implementation of this method retrieves the information from a global dictionary of observed objects keyed by memory addresses.

For improved performance, both this property and observationInfo can be overridden to store the opaque data pointer in an instance variable. Overrides of this property must not attempt to send messages to the stored data.

See Also

Observing Customization

+ automaticallyNotifiesObserversForKey:

Returns a Boolean value that indicates whether the observed object supports automatic key-value observation for the given key.

+ keyPathsForValuesAffectingValueForKey:

Returns a set of key paths for properties whose values affect the value of the specified key.

+ setKeys:triggerChangeNotificationsForDependentKey:

Configures the observed object to post change notifications for a given property if any of the properties specified in a given array changes.

Deprecated