• 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: 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.

References: 
 >Re: Get path to user preference folder (From: June Van Dyke <email@hidden>)

  • Prev by Date: Re: Get path to user preference folder
  • Next by Date: Q: The Split On Installed MacOS versions?
  • Previous by thread: Re: Get path to user preference folder
  • Next by thread: Re: Get path to user preference folder
  • Index(es):
    • Date
    • Thread