Re: NSUserDefauts - Am I Missing the Obvious?
Re: NSUserDefauts - Am I Missing the Obvious?
- Subject: Re: NSUserDefauts - Am I Missing the Obvious?
- From: Angela Brett <email@hidden>
- Date: Fri, 20 Dec 2002 00:55:02 +1300
At 5:42 PM +1100 19/12/2002, Andrew wrote:
The dictionary is stored in ~/Library/Preferences/<blah> where blah is
meant to be you domain name reversed (but is whatever you set in the app
settings of your project).
I had noticed that names of most preferences files look like reversed
domain names, but I've often wondered if this was just a coincidence
or if they really are supposed to be reversed domain names. If
they're supposed to be domain names, why? What if I don't have one?
Most of them seem to be com.companyname.appname and something like
nz.co.cocoa.myapp (rather than com.) seems kind of weird. I didn't
want to use such a funny looking identifier without finding out for
sure whether it's meant to be a backwards domain name and why.
I can think of one reason - that it goes from the general to the
specific which means the files are grouped nicely when alphabetically
sorted - but the com or nz.co bit doesn't really add anything useful
to that. There's nothing useful in grouping apps by country,
especially since the .coms come from all over the place anyway.
--
Angela Brett
email@hidden
http://acronyms.co.nz/angela
_______________________________________________
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.