reading objects saved in a file at different times?
reading objects saved in a file at different times?
- Subject: reading objects saved in a file at different times?
- From: Dave Sopchak <email@hidden>
- Date: Mon, 14 Mar 2005 00:23:48 -0800
Hi all,
I have an app that saves data to disk at regular intervals. I used to
save it as ASCII, but my client now wants it saved in a more cryptic
format so it'll be tougher for those who shouldn't read it to read it,
so I had the idea of saving it in native object format.
My question is, since it's saved one object at a time to the file, can
I read off the objects from this file in the same manner, even though
they aren't in an array? Will Cocoa, when asked to unarchive an object,
just read the next one and move the file read position along? Reading
up on this stuff makes me think this is a grey area.
Any reassurance or warnings much appreciated. I'm going to call it
quits for tonight, but I suppose I'll find out how this works when I
make a few attempts at it myself.
Thanks,
Dave
___________________________________________________
Swing and a drive, deep to right, way back...and this ball is...gone!
Jump on his back, fellas, the Red Sox win!
-Joe Trupiano, 10/18/2004 1:30AM
_______________________________________________
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