View Full Version : NSDictionary from NSData

Oct 29, 2009, 06:30 PM
I have a PHP file that is outputting a binary plist file. I am downloading it using NSURLConnection, which returns NSData. I would then like to unarchive it into a dictionary.

I don't see any way to convert the two other than writing the data to file, which seems stupid.

Oct 29, 2009, 07:16 PM
Try NSPropertyListSerialization

Oct 29, 2009, 07:26 PM
Thanks, I stumbled on that a few minutes ago.