Re: NSLog and [NSDictionary description], bug?
Re: NSLog and [NSDictionary description], bug?
- Subject: Re: NSLog and [NSDictionary description], bug?
- From: lbland <email@hidden>
- Date: Tue, 6 Apr 2004 09:59:26 -0400
On Apr 6, 2004, at 8:16 AM, Stiphane Sudre wrote:
The only object with a % is a NSString which contains "50% S".
But another dictionary with a "60% o" string is working. I don't see
why it would work in that case and not in the other.
Because %S gobbles up a pointer to a region that needs a NULL
terminator and then those bits in that memory get translated into
glyphs for output, whereas %o will gobble up any 32 bit value and spit
it out as an ASCII octal representation.
thanks!-
-lance
_______________________________________________
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.