• 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: Where/how to store lots of user application data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where/how to store lots of user application data


  • Subject: Re: Where/how to store lots of user application data
  • From: email@hidden
  • Date: Sat, 14 May 2005 11:40:48 +1000

Others said it all (Application Support, Caches, etc.). I'd just like to add you should use the app identifier instead of app name for folders: the identifier is unique thanks to the reverse DNS principle, the app name may not be.

Namely, do not use "~/Library/Application Support/MyApp". Instead, always use "~/Library/Application Support/com.gragsie.MyApp".

If there's two apps with exactly the same name, who cares about the system confusion - how the heck is the user expected to tell them apart?


The reverse DNS notation should never be seen by the user, since it is largely useless (in column view all you get is "com.arbi......plist" and junk like that) and as mentioned cannot easily be searched, etc. It annoys me immensely that many apps use it for their preferences - it can take several minutes to find the prefs for a given app; I usually have to resort to fs_usage'ing the app as it starts up. :(

Wade Tregaskis (AIM/iChat, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN, audio/video iChat & email: email@hidden, Jabber: email@hidden)
-- Sed quis custodiet ipsos custodes?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Where/how to store lots of user application data (From: Graham <email@hidden>)
 >Re: Where/how to store lots of user application data (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Add metadata to my files for Spotlight
  • Next by Date: Re: Debugging NSTextField categories
  • Previous by thread: Re: Where/how to store lots of user application data
  • Next by thread: Fwd: Where/how to store lots of user application data
  • Index(es):
    • Date
    • Thread