• 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: Prepending to fixed length
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prepending to fixed length


  • Subject: Re: Prepending to fixed length
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 18 Jul 2006 17:06:25 -0700
  • Thread-topic: Prepending to fixed length

On Tue, 18 Jul 2006 22:02:07 +0000, Trygve Inda <email@hidden>
said:
>aString = [NSString stringWithFormat:@"d", aSignedInt]; works. Many
>thanks guys.
>
>Steep learning curve, but Cocoa is growing on this old Carbon guy.

Actually, that one has remarkably little to do with Cocoa. Format strings
like this are a feature of the C language. See K&R(2), p. 244. Cocoa adopts
them with a few additions (but this isn't one). m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: Prepending to fixed length
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Visual compiling, nodes programming ?
  • Next by Date: Re: NSArrayController filterPredicate not truly observable
  • Previous by thread: Re: Prepending to fixed length
  • Next by thread: Re: Prepending to fixed length
  • Index(es):
    • Date
    • Thread