• 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: Donald Hall <email@hidden>
  • Date: Tue, 9 Dec 2003 00:32:35 -0700

My thanks to everyone who replied. I am looking into using NDResourceFork as it seems the logical place to put this information is with the document itself. Any solution I can think of using the program's preference .plist gets messy quickly if you want to keep track of the existence of the document files so as not to be carrying around information on deleted documents in the .plist file.

What happens if the user is not using the HFS+ file system?

Thanks again,

Don

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,

--
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: Randall Wood <email@hidden>
  • Prev by Date: paragraph style question
  • Next by Date: Re: CGShading line, triangle?
  • Previous by thread: Re: best way to save document level settings?
  • Next by thread: Re: best way to save document level settings?
  • Index(es):
    • Date
    • Thread