Re: NSDictionary descriptionWithLocale
Re: NSDictionary descriptionWithLocale
- Subject: Re: NSDictionary descriptionWithLocale
- From: Andy Lee <email@hidden>
- Date: Wed, 14 Mar 2007 10:26:11 -0400
On Mar 14, 2007, at 9:48 AM, Ivan C Myrvold wrote:
I have looked at NSPropertyListSerialization before I sent the
message to the list, and reread it now again to see if I have
missed anything. But I am unable to see how this class can help me.
This class is serializing and dserializing to/from NSData. That is
not what I want, I want an NSString containing a string
representation of an xml propertylist.
What if you use +dataFromPropertyList:format:errorDescription: and
pass NSPropertyListXMLFormat_v1_0 as the format argument? Then I
believe you can convert the resulting NSData to an NSString.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden