Re: Capturing Message as Invocation Object
Re: Capturing Message as Invocation Object
- Subject: Re: Capturing Message as Invocation Object
- From: Allan Odgaard <email@hidden>
- Date: Tue, 16 Mar 2004 20:46:08 +0100
On 16. Mar 2004, at 20:14, Ryan Bates wrote:
NSUndoManager has the incredibly convenient ability to capture a
message as an NSInvocation object using the
"prepareWithInvocationTarget:" method. What is NSUndoManager doing
under the hood?
It probably implements (NSObject):
- (void)forwardInvocation:(NSInvocation *)anInvocation
Overridden by subclasses to forward messages to other objects. When an
object is sent a message for which it has no corresponding method, the
runtime system gives the receiver an opportunity to delegate the
message to another receiver. [...]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.