Creating an Application Support folder
Creating an Application Support folder
- Subject: Creating an Application Support folder
- From: Paul Johnson <email@hidden>
- Date: Wed, 10 Feb 2010 22:44:45 -0500
I'm trying to find a best way to create the Application Support
folder. I'm rather new at Cocoa so it's taking me a while to do even
this simple thing. I'm also interested in ensuring my application can
be localized easily.
I have a function "- (NSString *)applicationSupportFolder" that
returns the desired folder name, properly localized. I call this
function and then use NSFileManager to check for the existence of the
folder. Because there can be a file (NOT a folder) already bearing the
folder name, I need to handle that possibility. Everything I've found
on the internet just ignores this case.
Can anyone recommend what I should do?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden