Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
- Subject: Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
- From: Andrei Tchijov <email@hidden>
- Date: Thu, 8 Dec 2005 14:24:20 -0500
Hamish,
Thanks for your response. Before you mentioned plugins, I thought
for myself that "good application" should survive loss of
"Application Support" folder and just act as if it was just freshly
installed. Now if we introduce plugins into the picture, then we
might end up with situation when "preferences" depend on such plugins
and then loss of "Application Support" folder could be quite
damaging. But then I guess "good application" should be ready to deal
with "corrupted" preferences.
Andrei
On Dec 8, 2005, at 2:08 PM, Hamish Allan wrote:
Andrei,
To answer the question in the subject line -- The preferences
folder is for property lists (whose contents have a constrained
format) of the form com.company.ApplicationName.plist. The
application support folder is for other things -- e.g., if your
application allows for plugins, they might be located there.
To answer your other unanswered question:
On Thu, 8 Dec 2005 12:37:43 -0500, Andrei Tchijov
<email@hidden> wrote:
Is "Application Support" for things which could be deleted without
any ill side effects?
Depends what you mean by "ill". If you delete your app's
Preferences, you'll lost your preferences. If you delete your app's
plugins, you'll lose your plugins. Your app should behave
gracefully if one but not the other is deleted -- if both are
deleted, your app should probably behave as though it has been run
for the first time.
Best wishes,
Hamish
_______________________________________________
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