Re: NSString propertyList crash
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