• 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: va_list, formats to pass as arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: va_list, formats to pass as arguments


  • Subject: Re: va_list, formats to pass as arguments
  • From: "Stephen Deken" <email@hidden>
  • Date: Mon, 19 Feb 2007 10:24:50 -0600

I know how to implement this in C (va_list etc.), but I don't know
how to do it in Objective-C :(

It's the same as standard C -- va_list, va_args, etc.

You can use the NSString method +[initWithFormat:arguments:] and pass
the va_list struct in there.

HTH,

--
Stephen Deken
email@hidden
_______________________________________________

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


References: 
 >va_list, formats to pass as arguments (From: Claudio Procida <email@hidden>)

  • Prev by Date: Re: va_list, formats to pass as arguments
  • Next by Date: Re: va_list, formats to pass as arguments
  • Previous by thread: Re: va_list, formats to pass as arguments
  • Next by thread: Re: va_list, formats to pass as arguments
  • Index(es):
    • Date
    • Thread