Re: NSString format specifiers (was: Is Concatenation that complex?)
Re: NSString format specifiers (was: Is Concatenation that complex?)
- Subject: Re: NSString format specifiers (was: Is Concatenation that complex?)
- From: "Louis C. Sacha" <email@hidden>
- Date: Tue, 27 Apr 2004 19:31:49 -0700
Hello...
On Apr 27, 2004, at 8:59 PM, Allan Odgaard wrote:
...
But it fails to support the 'z' modifier (used for size_t). Maybe
if they would document their supported format
specifiers/placeholders, I would know wether or not this is a bug ;)
The supported format specifiers are documented in one of the
Conceptual Cocoa topics:
http://developer.apple.com/Documentation/Cocoa/Conceptual/DataFormatting/Tasks/FormatStrings.html#//apple_ref/doc/uid/20000943
It's in a similar location in the installed developer documentation.
There is actually a link to that topic in the description of NSString
stringWithFormat: method, although if you use the PDF version of the
docs the links don't work correctly, and the actual location of the
topic is a bit subtle.
I've submitted an enhancement request for that table to be included
directly in the reference documentation for NSString, and I would
encourage anyone else who has had a difficult time locating that info
to do the same.
As far as %z, it doesn't appear to be an ANSI C format specifier, so
I guess that would fall under the category of enhancement request as
well :)
Louis
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.