• 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: NSLog and [NSDictionary description], bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSLog and [NSDictionary description], bug? (From: Stéphane Sudre <email@hidden>)
 >Re: NSLog and [NSDictionary description], bug? (From: Allan Odgaard <email@hidden>)
 >Re: NSLog and [NSDictionary description], bug? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: NSTableView drop targeting error
  • Next by Date: static sqlite
  • Previous by thread: Re: NSLog and [NSDictionary description], bug?
  • Next by thread: Re: What is the role of the CF- objects?
  • Index(es):
    • Date
    • Thread