• 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 20:16:55 -0400

On Sep 30, 2005, at 7:46 PM, Tom Harrington wrote:

On 9/30/05, Raffael Cavallaro <email@hidden> wrote:

On Sep 30, 2005, at 3:27 PM, Sherm Pendley wrote:

there's NSInvocation. It's more complex, but it's capable of
handling any number and type of arguments, and any type of return
value.

"NSInvocation does not support invocations of methods with either variable numbers of arguments or union arguments."

from <http://developer.apple.com/documentation/Cocoa/Reference/
Foundation/ObjC_classic/Classes/NSInvocation.html>

Yes, but "any number...of arguments" != "variable numbers of arguments".

Quite right, but I shouldn't have said "any". "any ... type" != "does not support ... union arguments".


Although it's a basically a moot point anyway - I can't recall any instance where I've seen a union passed directly by value, i.e. foo (union_var). It's generally passed either by resolving it to one of its specific types, i.e. foo(union_var.int_val), or by passing a pointer, i.e. foo(&union_var).

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>)

  • Prev by Date: Re: 10.3.9 cross development SDK not working?
  • Next by Date: Re: 10.3.9 cross development SDK not working?
  • Previous by thread: Re: call selector @"mySelector"
  • Next by thread: Re: call selector @"mySelector"
  • Index(es):
    • Date
    • Thread