NSKeyedArchiver on iOS and Cocoa

2010-12-20 Thread lorenzo7620
Are these two compatible? Can something archived one platform be unarchived  
on the other? I can't find anything in docs that addresses this, but I'm  
havig trouble doing precisely this (archived on iPhone, unarchived on  
MacOSX). I get the NSInvalidUnarchiveOperationException.

___

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 arch...@mail-archive.com


Re: NSKeyedArchiver on iOS and Cocoa

2010-12-20 Thread Ricky Sharp

On Dec 20, 2010, at 8:22 PM, lorenzo7...@gmail.com wrote:

 Are these two compatible? Can something archived one platform be unarchived 
 on the other? I can't find anything in docs that addresses this, but I'm 
 havig trouble doing precisely this (archived on iPhone, unarchived on 
 MacOSX). I get the NSInvalidUnarchiveOperationException.

There was a thread similar to this back in August:

http://www.cocoabuilder.com/archive/cocoa/291877-nskeyedarchiver-on-osx-to-nskeyedunarchiver-ios.html

___
Ricky A. Sharp mailto:rsh...@instantinteractive.com
Instant Interactive(tm)   http://www.instantinteractive.com



___

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 arch...@mail-archive.com


Re: Re: NSKeyedArchiver on iOS and Cocoa

2010-12-20 Thread lorenzo7620

On Dec 20, 2010 9:43pm, Ricky Sharp rsh...@mac.com wrote:



On Dec 20, 2010, at 8:22 PM, lorenzo7...@gmail.com wrote:




 Are these two compatible? Can something archived one platform be  
unarchived on the other? I can't find anything in docs that addresses  
this, but I'm havig trouble doing precisely this (archived on iPhone,  
unarchived on MacOSX). I get the NSInvalidUnarchiveOperationException.





There was a thread similar to this back in August:





http://www.cocoabuilder.com/archive/cocoa/291877-nskeyedarchiver-on-osx-to-nskeyedunarchiver-ios.html





___



Ricky A. Sharp mailto:rsh...@instantinteractive.com



Instant Interactive(tm) http://www.instantinteractive.com









Thanks for the reply. That thread is enlightening, but the problem I have  
is that I can't control how the iPhone data is persisted. I need to  
unarchive it on MacOSX and then re-encode it for use on iPhone. The data is  
all basic containers of type NSMutableDictionary. I was hoping that  
wouldn't be a problem.

___

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 arch...@mail-archive.com