> On 27 Mar 2017, at 15:49, Felix Franz <fe...@antetype.com> wrote: > > On 27 Mar 2017, at 10:42, Gerriet M. Denkmann <gerri...@icloud.com> wrote: >> >> 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? > > > + propertyListWithData:options:format:error: in NSPropertyListSerialization ,
Thanks a lot! Exactly what I needed. > looks like a documentation error (I used 10.11-documentation, maybe this is > already fixed). I use Xcode Version 8.2.1 (8C1002) with macOS 12.3 and it is not yet fixed. Kind regards, Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com