• 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: storing default preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: storing default preferences


  • Subject: Re: storing default preferences
  • From: cauri <email@hidden>
  • Date: Sun, 14 Mar 2004 21:27:39 +0100

Thank you, however the first time the application runs, before the I write the plist file, I need to store the initial data for those preference lists (arrays) somewhere. What is the best method?

cauri

On Mar 14, 2004, at 7:45, Hiro Fujimoto wrote:

You can use NSUserDefaults to load & save the preference in an XML format.


On 2004/03/14, at 15:21, cauri wrote:

My application has a number of lists that users can customise. I manage these lists through the preferences panel. On first run (or on the click of a "restore defaults" button) I would like these arrays to populate with the default data. What is the best way to store this data? In an XML file, a tabbed text file, or does some other mechanism exist in cocoa? And what is the most efficient way to retrieve this data?
_______________________________________________
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: storing default preferences
      • From: Hiro Fujimoto <email@hidden>
    • Re: storing default preferences
      • From: mmalcolm crawford <email@hidden>
References: 
 >storing default preferences (From: cauri <email@hidden>)
 >Re: storing default preferences (From: Hiro Fujimoto <email@hidden>)

  • Prev by Date: pdf data to graphic objects
  • Next by Date: Re: Writing a non-NSDocument based multiple document window apps
  • Previous by thread: Re: storing default preferences
  • Next by thread: Re: storing default preferences
  • Index(es):
    • Date
    • Thread