Re: Encoding/Decoding Multiple Objects in MyDocument
Re: Encoding/Decoding Multiple Objects in MyDocument
- Subject: Re: Encoding/Decoding Multiple Objects in MyDocument
- From: Ondra Cada <email@hidden>
- Date: Thu, 27 Apr 2006 21:22:46 +0200
Jason,
On 27.4.2006, at 21:15, Jason Barker wrote:
How do I set this up to archive and unarchive both arrays?
(i) use keyed archiving explicitly to store/read each with own key:
more code, arguably cleaner, more efficient if there's probability
for only one of arrays being read;
(ii) just put them both in another array which will be stored and
read: extremely easy, arguably slightly unclean, both arrays have to
be read each time (this was the common solution before keyed archivers).
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden