• 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
Creating an Application Support folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Creating an Application Support folder
      • From: "Sean McBride" <email@hidden>
    • Re: Creating an Application Support folder
      • From: Fritz Anderson <email@hidden>
    • Re: Creating an Application Support folder
      • From: Graham Cox <email@hidden>
    • Re: Creating an Application Support folder
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: What classes have -init?
  • Next by Date: Best class for pixel-level image processing?
  • Previous by thread: Re: [iPhone] CALayer/UIView ordering
  • Next by thread: Re: Creating an Application Support folder
  • Index(es):
    • Date
    • Thread