archive only what changed?
archive only what changed?
- Subject: archive only what changed?
- From: Randy Canegaly <email@hidden>
- Date: Mon, 07 Jul 2008 08:13:32 -0600
I have an application whose data model is an NSMutableArray with
elements that could be pointers other NSMutableArrays, much like what
you would navigate with a NSIndexPath. I am using NSKeyedArchiver to
archive the data model to a file. Right now I archive the entire top
level array object (and therefore all its parts) to the file using
archiveRootObject:toFile.
Is it possible to archive only the portion of the data model that
changed rather than the entire thing every time? I need the entire
data model to be archived so that it can be reloaded when the
application starts but for performance reasons I am interested in
seeing if it's possible upon a change to the data to only re-archive
the small part that changed.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden