On 2009 Jul 19, at 05:46, Graham Cox wrote:

use invocation forwarding. You need to override the following NSObject methods:

- (NSMethodSignature *) methodSignatureForSelector:(SEL) aSelector;
- (BOOL)                respondsToSelector:(SEL) aSelector;
- (void)                forwardInvocation:(NSInvocation*) invocation;

If you're targetting Mac OS 10.5 or later, I believe there is an easier way. Search this page:

   http://developer.apple.com/releasenotes/Cocoa/Foundation.html

for this word:

   forwardingTargetForSelector

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to