>> myData = [NSArchiver archivedDataWithRootObject:(NSArray*)myArray];
>> 
>> Will something archived with this under 10.5 be readable in 10.4?
>> 
>> This seems like something an existing utility should be able to
>> do... Is
>> there something that does this? Or do I need to write a simple
>> custom app to
>> prepare my plist file for uploading?


> Hmm.  It's not clear to me that an array will be stored more
> efficiently as a data object.
> 
> If your plist is in XML format, data objects are stored in string form
> as a series of hex digits.  This greatly expands the space needed,
> probably more than you could recover with zlib.

> Cheers,
> Ken
> 

One other reason to use NSData is to hide certain information from casual
users... though in my testing it is smaller as well which is a nice side
effect.

Just trying to be sure that if I use archivedDataWithRootObject on 10.5 and
write it to disk, then read it with 10.4's unarchivedDataWithRootObject,
that all will be ok.

Trygve


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to