(informal protocol)
準拠 | NSObject |
フレームワーク | /System/Library/Frameworks/Foundation.framework |
使用可能 | OS X 10.3 |
iOS 2.0 | |
定義 | NSKeyValueObserving.h |
概要
参照
タスク
Change Notification
– observeValueForKeyPath:ofObject:change:context:
Registering for Observation
– addObserver:forKeyPath:options:context:
– removeObserver:forKeyPath:
– removeObserver:forKeyPath:context:
Notifying Observers of Changes
– willChangeValueForKey:
– didChangeValueForKey:
– willChange:valuesAtIndexes:forKey:
– didChange:valuesAtIndexes:forKey:
– willChangeValueForKey:withSetMutation:usingObjects:
– didChangeValueForKey:withSetMutation:usingObjects:
Observing Customization
+ automaticallyNotifiesObserversForKey:
+ keyPathsForValuesAffectingValueForKey:
– setObservationInfo:
– observationInfo
+ setKeys:triggerChangeNotificationsForDependentKey: Deprecated in OS X v10.5 and later