• 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: NSString propertyList crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString propertyList crash


  • Subject: Re: NSString propertyList crash
  • From: Andy Lee <email@hidden>
  • Date: Mon, 20 Mar 2006 04:58:53 -0500

On Mar 20, 2006, at 4:07 AM, Ed Baskerville wrote:
(from http://developer.apple.com/documentation/cocoa/Conceptual/ PropertyLists/Concepts/OldStylePListsConcept.html)

Thanks for this link, and for submitting the bug reports so I don't have to. :)


In short, the documentation needs to emphasize that description methods are intended only for generating human-readable debugging output, NOTHING ELSE.

Agreed.

(2) Bug in the description method

Even though it's not going to generate property lists that parse to the original object graph unless that graph contains only NSString, NSData, NSArray, and NSDictionary objects, it should generate valid property lists.

I guess it couldn't hurt, but I'm not sure I agree -description should have any obligation to return valid property lists in all cases. I think the real fix is in the documentation.


--Andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSString propertyList crash
      • From: Keith Wilson <email@hidden>
References: 
 >Re: NSString propertyList crash (From: Greg Herlihy <email@hidden>)
 >Re: NSString propertyList crash (From: Ed Baskerville <email@hidden>)

  • Prev by Date: Re: String diff?
  • Next by Date: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
  • Previous by thread: Re: NSString propertyList crash
  • Next by thread: Re: NSString propertyList crash
  • Index(es):
    • Date
    • Thread