Re: base64 NSData to NSString
Re: base64 NSData to NSString
- Subject: Re: base64 NSData to NSString
- From: Marco Cassinerio <email@hidden>
- Date: Sat, 22 Mar 2008 21:19:45 +0100
On Mar 22, 2008, at 8:46 PM, Jens Alfke wrote:
On 22 Mar '08, at 12:40 PM, Marco Cassinerio wrote:
Using NSPropertyListSerialization means that the .plist file is a
binary representation and not an XML representation, is it true?
No. You can choose either format when writing a plist, and when
reading a plist it automatically detects the type and reads either
one.
Provided you use plist APIs to read the property lists, you
shouldn't have to care what format they're in. You'll get a
collection of objects and can work with them directly.
—Jens
I've done what you said, but nothing changed. I get the same data
content, like this:
ImgR\362FBIL\346\326\303\331\376\247H+\222!\222C\303\351-+
\377\376\377\377\377\377\222!\221\302\221\301
\2161\216a
mfile.icnsMacintosh HD>Developer/Applications/Xcode.app/Contents/
Resources/mfile.icns/\377\377
I've tried to write a parser, but is very hard.
Marco
_______________________________________________
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