Developer Documentation
PATH  WebObjects 4.5 Documentation > EOControl Reference

Table of Contents

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.



Instance Methods



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.


Table of Contents