• 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: Get path to user preference folder, updated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get path to user preference folder, updated


  • Subject: Re: Get path to user preference folder, updated
  • From: Dietrich Epp <email@hidden>
  • Date: Mon, 17 Feb 2003 22:22:08 -0800

On Saturday, Feb 15, 2003, at 08:31 US/Pacific, Daniel Aarno wrote:

Saturdayen den 15 February 2003 kl 17.22 skrev Sherm Pendley:

Use NSUserDefaults. That's what it's there for - so you don't have to worry about the underlying implementation, such as where and how the defaults/preferences are stored on disk.

Yes I use this to store my apps preferences. However I have need to store (2) other files here also. These files are not suitable for including in the "preference file" (MyApp.plist).

But thanks anyway, any other ideas? Surely there must be something like the old FindFolder(kPreferenceFolder, ...) call from "classic" MacOS.

If you have more than one file, you should probably store it in a folder like ~/Library/Application Support/MyApplication/. Sorry, I don't have any more input about doing it portably, though I'm rather curious myself about the most "kosher" method of doing this.
_______________________________________________
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: Get path to user preference folder, updated
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Protecting singleton objects from releasing
  • Next by Date: Re: formatting NSDate
  • Previous by thread: Re: Get path to user preference folder, updated
  • Next by thread: Re: Get path to user preference folder, updated
  • Index(es):
    • Date
    • Thread