Re: How does Cocoa implement delegate/callback?
Re: How does Cocoa implement delegate/callback?
- Subject: Re: How does Cocoa implement delegate/callback?
- From: John Hörnkvist <email@hidden>
- Date: Fri, 15 Nov 2002 12:23:50 +0100
On Thursday, November 14, 2002, at 06:41 PM, Bill Cheeseman wrote:
Telling the delegate to
performSelector:withObject:withObject: won't work because the callback
method I specify has too many parameters. And I can't figure out how
to get
NSInvocation to work.
Is this the best approach? If so, I'll keep digging.
Why not just use objc_msgSend?
objc_msgSend(delegate, sel, arg1, arg2, ...)
Regards,
John Hornkvist
_______________________________________________
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.