Re: Get path to user preference folder, updated
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.