Re: Capturing Message as Invocation Object
Re: Capturing Message as Invocation Object
- Subject: Re: Capturing Message as Invocation Object
- From: Ondra Cada <email@hidden>
- Date: Tue, 16 Mar 2004 21:24:42 +0100
Ryan,
On Tuesday, Mar 16, 2004, at 20:58 Europe/Prague, Ryan Bates wrote:
The only downside is you cannot capture methods which the class
implements
You can, just it's a tad more complicated: create an extra class for
it, either a root one (more difficult, but can catch anything) or a
subclass of NSProxy (considerably more easy, can catch nearly
anything). Return an instance of this class from your variant of
prepareWithInvocationTarget:, and use _it_ to catch the messages.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.