• 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: NSDictionary descriptionWithLocale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSDictionary descriptionWithLocale (From: Ivan C Myrvold <email@hidden>)
 >Re: NSDictionary descriptionWithLocale (From: Andreas Mayer <email@hidden>)
 >Re: NSDictionary descriptionWithLocale (From: Ivan C Myrvold <email@hidden>)

  • Prev by Date: Using math.h
  • Next by Date: Re: Dropping a application onto mine
  • Previous by thread: Re: NSDictionary descriptionWithLocale
  • Next by thread: Re: NSDictionary descriptionWithLocale
  • Index(es):
    • Date
    • Thread