FROM : Marco Cassinerio
DATE : Sat Mar 22 20:40:57 2008
>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
DATE : Sat Mar 22 20:40:57 2008
>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
| Related mails | Author | Date |
|---|---|---|
| Marco Cassinerio | Mar 22, 18:22 | |
| Paolo Manna | Mar 22, 19:12 | |
| Jeff LaMarche | Mar 22, 19:18 | |
| Michael Ash | Mar 22, 20:11 | |
| Marco Cassinerio | Mar 22, 20:40 | |
| Jens Alfke | Mar 22, 20:46 | |
| Marco Cassinerio | Mar 22, 21:19 | |
| Jens Alfke | Mar 22, 21:24 | |
| Marco Cassinerio | Mar 22, 22:11 |






Cocoa mail archive

