NSKeyValueObserving

An informal protocol that objects adopt to be notified of changes to the specified properties of other objects. ある非形式プロトコル、それは、オブジェクトが採用して、他のオブジェクトの指定されたプロパティに対する変更の通知を受けるようになるものです。

Overview 概要

You can observe any object properties including simple attributes, to-one relationships, and to-many relationships. Observers of to-many relationships are informed of the type of change made — as well as which objects are involved in the change.

NSObject provides an implementation of the NSKeyValueObserving protocol that provides an automatic observing capability for all objects. You can further refine notifications by disabling automatic observer notifications and implementing manual notifications using the methods in this protocol.

Topics 話題

Change Notification

Registering for Observation

Notifying Observers of Changes

Observing Customization

Constants 定数

See Also 参照

Related Documentation 関連文書