• 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
How to convert NSData → Property List Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to convert NSData → Property List Object


  • Subject: How to convert NSData → Property List Object
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 27 Mar 2017 15:42:47 +0700

propertyListFromData:mutabilityOption:format:errorDescription: (which converts an NSData into some property list object) is deprecated.

The documentation says: This method is deprecated. Use dataWithPropertyList:format:options:error: instead.

But this seems to be the exact opposite: converting a property list object into NSData.

So: what to use to convert NSData into property list object?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: Re: How to debug crash in NSOperation?
  • Next by Date: Re: How to convert NSData → Property List Object
  • Previous by thread: Re: How to debug crash in NSOperation?
  • Next by thread: Re: How to convert NSData → Property List Object
  • Index(es):
    • Date
    • Thread