Re: "-forwardInvocation:" like NSInvocation creation
Re: "-forwardInvocation:" like NSInvocation creation
- Subject: Re: "-forwardInvocation:" like NSInvocation creation
- From: Jerry Krinock <email@hidden>
- Date: Mon, 29 Mar 2010 13:14:29 -0700
On 2010 Mar 29, at 12:53, Philip Mötteli wrote:
> Am 29.03.2010 um 21:31 schrieb Jerry Krinock:
>
>> It handles all argument types
Correction. I forgot one little limitation, per NSInvocation documentation, "none of the the parameters of the selector being invoked may themselves be a va_arg argument list, nor a union"
>> I'll post the code if you're interested.
>
> That would be nice!
Here you go. I've zipped the whole category, so you've got a few other "bonus" methods in there too. This was actually the subject of a Technical Support Incident I needed to use up, and I was lucky to get a very experienced Apple engineer to work on it with me, so it should be halfway decent. Being an NSInvocation fan, I use it fearlessly, quite often.
Attachment:
NSInvocation+Quick.zip
Description: Zip archive
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden