Re: "First Run" installation of Application support stuff?
Re: "First Run" installation of Application support stuff?
- Subject: Re: "First Run" installation of Application support stuff?
- From: Scott Anguish <email@hidden>
- Date: Sun, 8 Dec 2002 20:27:15 -0500
On Sunday, December 8, 2002, at 06:39 PM, Andreas Mayer wrote:
Am Sonntag, 08.12.02 um 22:08 Uhr schrieb Jeff Disher:
I think that this is a good idea. If I weren't in exams right now I
would write up a quick framework with something like that since it is
very useful.
What are you talking about?
Finding the Application Support Folder?
I use this:
Snip CoreFoundation/Carbon code..
Hmm.. it looks like there should be an additional constant for
NSSearchPathDirectory to use with
NSArray *NSSearchPathForDirectoriesInDomains (NSSearchPathDirectory
directory, NSSearchPathDomainMask domainMask, BOOL expandTilde)
to provide this...
In fact, it looks like this could/should be extended to give you the
search paths for both "Application Support" and "SharedSupport"
(assuming I'm reading System Overview correctly..) That'd give you
both paths.. then check them for the file in order of preference..
I'm not sure how I feel about the whole "Application Support" directory
under Library... isn't that what Library is for? Shouldn't there just
be a directory under Library for an application to store this stuff in?
There is some discussion of this here
file:///Developer/Documentation/Essentials/SystemOverview/AppPackaging/
User_Resour_pplications.html
_______________________________________________
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.