• 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 function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variadic function


  • Subject: Re: variadic function
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 18 May 2007 18:50:31 -0500


On May 18, 2007, at 6:24 PM, Roland Silver wrote:

How can I write a variadic function foo(NSString* format, ...) in such a way that it can have, in effect, in its body:
NSString* msg = [NSString stringWithFormat:format, ...];

Please do at least some searching. Googling on 'cocoa variadic' brought up as a first hit:


<http://developer.apple.com/qa/qa2005/qa1405.html>

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: variadic function
      • From: "Shawn Erickson" <email@hidden>
References: 
 >variadic function (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: Use of "min" and "max" functions
  • Next by Date: Re: variadic function
  • Previous by thread: variadic function
  • Next by thread: Re: variadic function
  • Index(es):
    • Date
    • Thread