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

Variadic arguments to methods in Objective-C - How ?


  • Subject: Variadic arguments to methods in Objective-C - How ?
  • From: Vincent Coetzee <email@hidden>
  • Date: Sat, 8 Jan 2005 21:38:51 +0200

Dear List,

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.

Thanks

Vincent
_______________________________________________
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


  • Follow-Ups:
    • Re: Variadic arguments to methods in Objective-C - How ?
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Variadic arguments to methods in Objective-C - How ?
      • From: James Bucanek <email@hidden>
    • Re: Variadic arguments to methods in Objective-C - How ?
      • From: Andreas Mayer <email@hidden>
    • Re: Variadic arguments to methods in Objective-C - How ?
      • From: Tommy Nordgren <email@hidden>
  • Prev by Date: Re: Continuous controls and undo
  • Next by Date: Typing class parameters.
  • Previous by thread: Re: New Window with Image
  • Next by thread: Re: Variadic arguments to methods in Objective-C - How ?
  • Index(es):
    • Date
    • Thread