• 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: NSUserDefauts - Am I Missing the Obvious?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefauts - Am I Missing the Obvious?


  • Subject: Re: NSUserDefauts - Am I Missing the Obvious?
  • From: Malte Tancred <email@hidden>
  • Date: Thu, 19 Dec 2002 14:20:45 +0100

On thursday, dec 19, 2002, at 12:55 Europe/Stockholm, Angela Brett wrote:
What if I don't have one?

Use something else that feels unique to you and/or your app?

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.

Why is nz.co.cocoa.myapp funnier than com.apple.itunes?

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.

As Joar pointed out, it's about namespace. If you happen to own a domainname that's a pretty good identifier, your own namespace. You own the name and everything below it.

If you don't have a domainname use something else. How about "AngelaBrettsExcellentSoftware.myapp"?

Cheerio,
Malte
_______________________________________________
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: NSUserDefauts - Am I Missing the Obvious? (From: Angela Brett <email@hidden>)

  • Prev by Date: Re: Class method list
  • Next by Date: Re: Class method list
  • Previous by thread: Re: NSUserDefauts - Am I Missing the Obvious?
  • Next by thread: Re: NSUserDefauts - Am I Missing the Obvious?
  • Index(es):
    • Date
    • Thread