Inherits From:
EODelayedObserver : NSObject
Conforms To:
EOObserving (EODelayedObserver)
NSObject (NSObject)
Declared in:
EOControl/EOObserver.h
Class Description
EOObserverProxy provides a means for objects that can't inherit from EODelayedObserver to handle subjectChanged messages. An EOObserverProxy implements subjectChanged to send an action message to its target object, allowing the target to act as though it had received subjectChanged directly from an EODelayedObserverQueue. See the EOObserverCenter and EODelayedObserverQueue class specifications for more information.
Instance Methods
- (id)initWithTarget: (id)anObject
action: (SEL)anAction
priority: (EOObserverPriority)priority
Initializes a new EOObserverProxy to send anAction to anObject upon receiving a subjectChanged message. anAction should be a selector for a typical action method, taking one id argument and returning void . priority indicates when the receiver is sent this message from EODelayedObserverQueue's notifyObserversUpToPriority: method. This is the designated initializer for the EOObserverProxy class. Returns self .
-
Copyright © 1997, Apple Computer, Inc. All rights
reserved.