Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > Archiving sever...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 966 of 1009
Post > Topic >>

Archiving several instances of the same class

by ActiveMan <basurero@[EMAIL PROTECTED] > Mar 23, 2008 at 01:07 PM

Hello, according to Apple do***entation NSKeyedArchiver is the 
preferred option to archive objects in favor of NSArchiver:

<http://developer.apple.com/do***entation/Cocoa/Conceptual/Archiving/Archiving.html>

However 

I have note that assigning a key to each archived object bring into 
play a problem when we archive several instances of the same class 
(assuming that the encodeWithCoder:forKey: implementation assign the 
same key whenever it stores a instance variable, which is the regular 
behavior). How can we deal with this situation?
 




 3 Posts in Topic:
Archiving several instances of the same class
ActiveMan <basurero@[E  2008-03-23 13:07:25 
Re: Archiving several instances of the same class
Gregory Weston <uce@[E  2008-03-23 11:47:45 
Re: Archiving several instances of the same class
ActiveMan <basurero@[E  2008-03-23 21:24:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:26:09 CDT 2008.