Configures the observed object to post change notifications for a given property if any of the properties specified in a given array changes.
- macOS 10.0–10.5Deprecated
The names of the properties upon which the value of the property identified by
The name of a property whose value depends on the properties specified by
Invocations of will- and did-change KVO notification methods for any key in
keys automatically invokes the corresponding change notification methods for
dependent. The observed object does not receive
did messages to generate the notifications.
Dependencies should be registered before any instances of the receiving class are created, so you typically invoke this method in a class's
initialize method, as illustrated in the following example.