Possible use of NSKeyedArchive
Possible use of NSKeyedArchive
- Subject: Possible use of NSKeyedArchive
- From: Michel RENON <email@hidden>
- Date: Mon, 14 Jul 2003 00:16:00 +0200
Hi everybody,
I'm writing software that manages data for a biologist. It's simple :
there is a list of places, and each place has 4 arrays of datas (value
and percentage). I started to write this software with SQLlite (One
table for places, another one for datas). Its works great, even if I
have to take care of communication between my objects and SQLlite datas.
My main goals for this software are :
- small memory footprint : the biologist doesn't need to have datas of
several places at the same time ; the datas of only one place need to
be in memory, the others remain on disk
- automatic saving : each modification on datas must be saved as
quickly as possible
I've heard of keyed archiving in Mac OS X 10.2. After reading stepwise
article on keyed archiving, I'm wondering if it might be useful for me.
Using keyed archiving, it seems possible to decode one object from a
whole archive, but is it possible to encode one object in an existing
archive, without re-encoding the whole objects ?
Or should i save each place's data in different archives (ie different
files) ?
Thanks for any comments or ideas.
Michel.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.