Re: writing & reading a file in Cocoa
Re: writing & reading a file in Cocoa
- Subject: Re: writing & reading a file in Cocoa
- From: Scott Anguish <email@hidden>
- Date: Wed, 25 Dec 2002 23:04:24 -0500
On Wednesday, December 25, 2002, at 09:58 PM, Manooch Khajeh wrote:
Happy holidays:
I am writing a preference pane. I want to read & write a C data
structure into a file. Is there an example of this anywhere?
I prefer not to use NSDictionary and instead read & write the whole C
structure as a block of data bytes.
Why not use the preferences database via userdefaults?
It'd be better to write these items out in a non-C-structure way,
since this would give you better ability to change/add keys in the
future.
_______________________________________________
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.