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 20:40:57 +0100
>They aren't "base64 NSData objects", they are NSData objects which
>happen to be stored using base64. This is an implementation detail and
>you shouldn't need to care about it.
>The .plist extension implies that these are property lists. You can
>read them with NSPropertyListSerialization. This will take care of
>decoding the NSData objects however they are represented, and will
>also do nice things like not fail utterly when Apple decides that this
>plist should be stored using the binary format instead of the XML
>format.
>Mike
I'm a bit confused. Property list documentation says "Data bytes are
base-64 encoded between the <data> and </data> tags."
Using NSPropertyListSerialization means that the .plist file is a
binary representation and not an XML representation, is it true?
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