• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "-forwardInvocation:" like NSInvocation creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: "-forwardInvocation:" like NSInvocation creation
      • From: Philip Mötteli <email@hidden>
References: 
 >"-forwardInvocation:" like NSInvocation creation (From: Philip Mötteli <email@hidden>)
 >Re: "-forwardInvocation:" like NSInvocation creation (From: Philip Mötteli <email@hidden>)
 >Re: "-forwardInvocation:" like NSInvocation creation (From: Jerry Krinock <email@hidden>)
 >Re: "-forwardInvocation:" like NSInvocation creation (From: Philip Mötteli <email@hidden>)
 >Re: "-forwardInvocation:" like NSInvocation creation (From: Jerry Krinock <email@hidden>)
 >Re: "-forwardInvocation:" like NSInvocation creation (From: Philip Mötteli <email@hidden>)

  • Prev by Date: Re:Attributes set in NSTextStorage ignored/overridden
  • Next by Date: Re: Removing Object form ArrayController without managedObjectContext
  • Previous by thread: Re: "-forwardInvocation:" like NSInvocation creation
  • Next by thread: Re: "-forwardInvocation:" like NSInvocation creation
  • Index(es):
    • Date
    • Thread