• 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
short question but I don't know how to describe it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

short question but I don't know how to describe it


  • Subject: short question but I don't know how to describe it
  • From: Marx Bievor <email@hidden>
  • Date: Mon, 8 Mar 2010 01:07:13 +0100

Hi,

I can substitute a String with %@ and an int with %d... like in return @"Hi I am %@ and %d years old", name, age;
what is the right command to substitute a bool and a float? I cannot find any reference at apple's docs.

does anyone have a list of those commands?

thank you!
-M_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: short question but I don't know how to describe it
      • From: Nick Zitzmann <email@hidden>
    • Re: short question but I don't know how to describe it
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Unable to right align text when drawing via [NSAttributedString drawAt:]
  • Next by Date: NSServices - Validation bug
  • Previous by thread: Re: NSNumberFormatter dropping trailing zeros?
  • Next by thread: Re: short question but I don't know how to describe it
  • Index(es):
    • Date
    • Thread