• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
reading objects saved in a file at different times?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSWorkspace's notificationCenter
  • Next by Date: Re: NSPopUpButtonCell in custom NSTableColumn in NSTableView - not changing value
  • Previous by thread: NSData containing non-english to NSTextView
  • Next by thread: Handle keyboard events
  • Index(es):
    • Date
    • Thread