• 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
Re: best way to save document level settings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: best way to save document level settings?
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >best way to save document level settings? (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: Addressbook style textfield
  • Next by Date: Re: best way to save document level settings?
  • Previous by thread: best way to save document level settings?
  • Next by thread: Re: best way to save document level settings?
  • Index(es):
    • Date
    • Thread