Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > EOControl Reference



EOObserving

Adopted By:
EODelayedObserver
EOEditingContext

Declared in: EOControl/EOObserver.h

Protocol Description

The EOObserving protocol,a part of EOControl's change tracking mechanism, declares the objectWillChange: method, used by observers to receive notifications that an object has changed. This message is sent by EOObserverCenter to all observers registered using its addObserver:forObject: method. For an overview of the general change tracking mechanism, see "Tracking Enterprise Objects Changes" in the introduction to the EOControl Framework. The EOObserving protocol


objectWillChange:

- (void)objectWillChange: (id)anObject

Informs the receiver that anObject's state is about to change. The receiver can record anObject's state, mark or record it as changed, and examine it later (such as at the end of the run loop) to see how it's changed.





Copyright © 1998, Apple Computer, Inc. All rights reserved.