• 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: call selector @"mySelector"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: call selector @"mySelector"


  • Subject: Re: call selector @"mySelector"
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 30 Sep 2005 22:38:32 -0400

On Sep 30, 2005, at 10:24 PM, Raffael Cavallaro wrote:

The point is to make clear that neither NSInvocation nor the performSelector methods of NSObject allow one to dynamically determine at runtime a selector that takes a variable number of arguments.

To do *that* requires still deeper voodoo - you assemble an argument list with the marg* macros, and pass the list to either objc_msgSendv () or objc_msgSendv_stret(), depending on the return type.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >call selector @"mySelector" (From: Aaron Wallis <email@hidden>)
 >Re: call selector @"mySelector" (From: Jim Correia <email@hidden>)
 >Re: call selector @"mySelector" (From: Sherm Pendley <email@hidden>)
 >Re: call selector @"mySelector" (From: Raffael Cavallaro <email@hidden>)
 >Re: call selector @"mySelector" (From: Tom Harrington <email@hidden>)
 >Re: call selector @"mySelector" (From: Raffael Cavallaro <email@hidden>)

  • Prev by Date: Core Data question on calculating percentages
  • Next by Date: Re: Core Data question on calculating percentages
  • Previous by thread: Re: call selector @"mySelector"
  • Next by thread: Re: call selector @"mySelector"
  • Index(es):
    • Date
    • Thread