Up
Authors
- Generated by Riccardo Mottola
-
Date: Generated at 2024-11-18 21:56:13 +0100
Copyright: (C) 2005 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSKeyValueObserving.h
Availability: MacOS-X 10.3.0, Base 1.2.0
NSArray objects are not observable, so the
registration methods raise an exception.
- (void)
removeObserver: (
NSObject*)anObserver
fromObjectsAtIndexes: (
NSIndexSet*)indexes
forKeyPath: (
NSString*)aPath;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
- (void)
removeObserver: (
NSObject*)anObserver
fromObjectsAtIndexes: (
NSIndexSet*)indexes
forKeyPath: (
NSString*)aPath
context: (void*)context;
Availability: MacOS-X 10.7.0, Base 1.2.0
Description forthcoming.
- Declared in:
- Foundation/NSKeyValueObserving.h
Availability: MacOS-X 10.3.0, Base 1.2.0
These methods are sent to the receiver when observing
it active for a key and the key is about to be (or has
just been) changed.
- (void)
didChange: (
NSKeyValueChange)changeKind
valuesAtIndexes: (
NSIndexSet*)indexes
forKey: (
NSString*)aKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- (void)
didChangeValueForKey: (
NSString*)aKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- (void)
didChangeValueForKey: (
NSString*)aKey
withSetMutation: (
NSKeyValueSetMutationKind)mutationKind
usingObjects: (
NSSet*)objects;
Availability: MacOS-X 10.4.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- (void)
willChange: (
NSKeyValueChange)changeKind
valuesAtIndexes: (
NSIndexSet*)indexes
forKey: (
NSString*)aKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- (void)
willChangeValueForKey: (
NSString*)aKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- (void)
willChangeValueForKey: (
NSString*)aKey
withSetMutation: (
NSKeyValueSetMutationKind)mutationKind
usingObjects: (
NSSet*)objects;
Availability: MacOS-X 10.4.0, Base 1.2.0
An empty method provided for subclasses to override.
Description forthcoming.
- Declared in:
- Foundation/NSKeyValueObserving.h
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
- (void)
removeObserver: (
NSObject*)anObserver
forKeyPath: (
NSString*)aPath;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
- (void)
removeObserver: (
NSObject*)anObserver
forKeyPath: (
NSString*)aPath
context: (void*)context;
Availability: MacOS-X 10.7.0, Base 1.2.0
Description forthcoming.
- Declared in:
- Foundation/NSKeyValueObserving.h
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
- (void)
observeValueForKeyPath: (
NSString*)aPath
ofObject: (id)anObject
change: (
NSDictionary*)aChange
context: (void*)aContext;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
- Declared in:
- Foundation/NSKeyValueObserving.h
Availability: MacOS-X 10.3.0, Base 1.2.0
These methods permit modifications to the observing
system.
+ (BOOL)
automaticallyNotifiesObserversForKey: (
NSString*)aKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Specifies whether the class should send the
notification methods of the
NSKeyValueObserverNotification
protocol when instances of the class receive
messages to change the value for the key.
The default implementation returns YES
.
+ (
NSSet*)
keyPathsForValuesAffectingValueForKey: (
NSString*)dependentKey;
Availability: MacOS-X 10.5.0, Base 1.2.0
Returns a set of key paths for properties whose
values affect the value of the specified
dependentKey.
+ (void)
setKeys: (
NSArray*)triggerKeys
triggerChangeNotificationsForDependentKey: (
NSString*)dependentKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Tells the observing system that when
NSKeyValueObserverNotification
protocol messages are sent for any key in the
triggerKeys array, they should also be
sent for dependentKey.
- (void*)
observationInfo;
Availability: MacOS-X 10.3.0, Base 1.2.0
Returns a reference to the observation information
for the receiver as stored using the
-setObservationInfo:
method.
The default implementation returns
information from a global table.
- (void)
setObservationInfo: (void*)observationInfo;
Availability: MacOS-X 10.3.0, Base 1.2.0
Stores observation information for the receiver. By
default this is done in a global table, but classes
may implement storage in an instance variable or some
other scheme (for improved performance).
Up