Instance Methods | |
(void) | - addObserver:forKeyPath:options:context: |
(void) | - addObserver:toObjectsAtIndexes:forKeyPath:options:context: |
(void) | - removeObserver:forKeyPath: |
(void) | - removeObserver:fromObjectsAtIndexes:forKeyPath: |
Definition at line 532 of file CPArray+KVO.j.
|
implementation |
Raises an exception for any key path other than "@count".
CPArray objects are not observable (except for ), so this method raises an exception when invoked on an CPArray object. Instead of observing an array, observe the ordered to-many relationship for which the array is the collection of related objects.
Definition at line 541 of file CPArray+KVO.j.
|
implementation |
Registers an observer to receive key value observer notifications for the specified key-path relative to the objects at the indexes.
Definition at line 563 of file CPArray+KVO.j.
|
implementation |
Raises an exception for any key path other than "@count".
CPArray objects are not observable (except for ), so this method raises an exception when invoked on an CPArray object. Instead of observing an array, observe the ordered to-many relationship for which the array is the collection of related objects.
Definition at line 554 of file CPArray+KVO.j.
|
implementation |
Removes anObserver from all key value observer notifications associated with the specified keyPath relative to the array’s objects at indexes.
Definition at line 578 of file CPArray+KVO.j.