• 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: Variadic arguments to methods in Objective-C - How ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variadic arguments to methods in Objective-C - How ?


  • Subject: Re: Variadic arguments to methods in Objective-C - How ?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 8 Jan 2005 23:26:41 +0100

At 21:38 Uhr +0200 08.01.2005, Vincent Coetzee wrote:
How does one create methods in Objective-C that use a variable number of arguments. I am familiar with the normal C mechanism, but does this work in Objective-C considering the hidden arguments to methods (i.e. _self and _cmd) ? So can I use the normal C mechanism and if not how is it done ? Some sample code would be appreciated.

Yes, you can just use it the same way as in C. -- Cheers, M. Uli Kusterer ------------------------------------------------------------ "The Witnesses of TeachText are everywhere..." http://www.zathras.de _______________________________________________ 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: 
 >Variadic arguments to methods in Objective-C - How ? (From: Vincent Coetzee <email@hidden>)

  • Prev by Date: Re: Variadic arguments to methods in Objective-C - How ?
  • Next by Date: [OT] Library for sound manipulation
  • Previous by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Next by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Index(es):
    • Date
    • Thread