• 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: Allan Odgaard <email@hidden>
  • Date: Tue, 6 Apr 2004 13:35:27 +0200

On 6. Apr 2004, at 12:49, Stiphane Sudre wrote:

- when I do NSLog(@"%@",myDictionary); it works too (there is no %@ in the dictionary objects).

%@ is not the only placeholder. Are you absolutely 100% sure that it does not contain other placeholders?

Is this a known bug or limitation in NSLog?

I would argue that the bug is with your code unless you can absolutely guarantee the dictionary is w/o placeholder tokens. If that is the case, perhaps it is a stack overflow in the format-string parser of NSLog.

Can you provide an example of a dictionary which crashes?





** Cocoa FAQ: <http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
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.


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

  • Prev by Date: Re: NSLog and [NSDictionary description], bug?
  • Next by Date: Re: NSLog and [NSDictionary description], bug?
  • Previous by thread: Re: NSLog and [NSDictionary description], bug?
  • Next by thread: Re: NSLog and [NSDictionary description], bug?
  • Index(es):
    • Date
    • Thread