Re: best way to save document level settings?
Re: best way to save document level settings?
- Subject: Re: best way to save document level settings?
- From: Scott Anguish <email@hidden>
- Date: Sat, 6 Dec 2003 03:17:18 -0500
On Dec 6, 2003, at 2:39 AM, Donald Hall wrote:
My application displays document data in tables that can be sorted by
column like iTunes or the Finder list view. I want to save the sorting
columns and sorting directions of the tables when the document is
closed and saved. What is the best way to save this information? At
present, I am thinking of using the program's .plist file, with one
entry (a dictionary) for each document the user saves. The plist key
would be the document's file path. The total number of documents is
not likely to be large. The only other alternative I can think of is
to save the information in the document itself, but the sorting
information really has nothing to do with the actual data in the file
and it would mean changing another program that reads the data file to
ignore it.
Thanks for any suggestions or insights,
this is a bad idea. It depends on the application wrapper being
writable.
you could save it to the defaults on a per-document basis
_______________________________________________
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.