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

best way to save document level settings?


  • Subject: best way to save document level settings?
  • From: Donald Hall <email@hidden>
  • Date: Sat, 6 Dec 2003 00:39:59 -0700

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,

Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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: Manfred Schubert <email@hidden>
    • Re: best way to save document level settings?
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Sorting a list in NSTableView
  • Next by Date: Addressbook style textfield
  • Previous by thread: Sorting a list in NSTableView
  • Next by thread: Re: best way to save document level settings?
  • Index(es):
    • Date
    • Thread