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: Daniel Aarno <email@hidden>
- Date: Sat, 15 Feb 2003 17:02:18 +0100
Saturdayen den 15 February 2003 kl 16.36 skrev June Van Dyke:
[NSHomeDirectory()
stringByAppendingPathComponent:@"Library/Preferences"]
That should do what you want.
But I especially said I DO NOT WANT TO PUT "Library/Preferences" into
my code.
A lot of problems arose when moving apps from old versions of MacOS to
new ones with multi-user capabilities (> 9) because people put
"StartupDisk:Preferences" into there code. (This also used to screw-up
things on non-US systems but this is not an issue on OS X).
Or maybe Apple have made it official that ~/Library/Preferences will
never ever move, but I find this unlikely.
Any other suggestions?
/Bishop
--
Codito, ergo sum
_______________________________________________
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.