RE: Bug in NSString stringWithFormat?
RE: Bug in NSString stringWithFormat?
- Subject: RE: Bug in NSString stringWithFormat?
- From: Rainer Brockerhoff <email@hidden>
- Date: Thu, 23 Aug 2001 13:32:25 -0300
>
From: Christian Mike <email@hidden>
>
Date: Thu, 23 Aug 2001 10:49:51 -0500
>
>
How do I make a request to Apple to make the
>
>
%[width][.prec]s
>
>
format specifier in NSString (and NSMutableString) work the same as the C
>
printf function?
I ran into this problem some weeks ago, and made a bug report.
NSString does this through CFString, so I also downloaded the source files to Core Foundation ("CF-Lite") from the Darwin website, and found the approximate place where this can be fixed... but there's so little time...
...perhaps if someone submits the fixes to Darwin we'll get this in the next version.
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://www.brockerhoff.net/ (updated July 2000)