• 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: Ondra Cada <email@hidden>
  • Date: Tue, 6 Apr 2004 14:43:15 +0200

On Tuesday, Apr 6, 2004, at 14:16 Europe/Prague, Stiphane Sudre wrote:

The only object with a % is a NSString which contains "50% S".

Might be interpreted as string placeholder, perhaps?

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.

Since the placeholder parsing is not guaranteed to be regular, I guess ;)

Anyway, unless you can ensure there are *no* formatting characters (or unless you are aware of them and supply appropriate arguments), you should never use any string in place of the format.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Re: 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