• 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: Application Support Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Support Folder


  • Subject: Re: Application Support Folder
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 24 Jun 2009 21:37:27 -0700

On Tue, Jun 23, 2009 at 9:02 PM, Anthony Smith<email@hidden> wrote:
> If count is not greater than 0 then it returns an NSTemporaryDirectory.
> What's the point? Is that check really necessary? Will there ever be an
> instance where NSSearchPathForDirectoriesInDomains will not return the
> NSApplicationSupportDirectory when asked for? If so, why and what would be
> the appropriate way to handle this?

Yes.  When the user has deleted the Application Support directory.

At which point the application should probably complain and warn the
user, rather than allowing them to go on and do a whole bunch of work
only to lose it when the temp dir is flushed.  But that's your
responsibility to implement.

--Kyle Sluder
_______________________________________________

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: Application Support Folder
      • From: Anthony Smith <email@hidden>
References: 
 >Application Support Folder (From: Anthony Smith <email@hidden>)

  • Prev by Date: Re: Hide Interface Builder Object?
  • Next by Date: Re: Quick DO endian question
  • Previous by thread: Application Support Folder
  • Next by thread: Re: Application Support Folder
  • Index(es):
    • Date
    • Thread