• 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: how to delete the current user's directory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to delete the current user's directory?


  • Subject: Re: how to delete the current user's directory?
  • From: "Michael Ash" <email@hidden>
  • Date: Mon, 1 Sep 2008 18:05:44 -0400

On Mon, Sep 1, 2008 at 1:29 PM, Graff <email@hidden> wrote:
> Note that I avoided hard-coded paths by using
> NSSearchPathForDirectoriesInDomains.  This is important because hard-coded
> paths can break in many ways, such as when the user is on a non-english
> system.

Actually this is not true. The directory names remain the same no
matter what language you use. It's still a good idea to use the
function rather than hard coding the names, because the names could
conceivably change in the future, but on current Mac OS X system
you'll find that "Library" is always called "Library" at the UNIX path
level.

Mike
_______________________________________________

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

References: 
 >Re: how to delete the current user's directory? (From: Graff <email@hidden>)

  • Prev by Date: Re: Sending a GET or POST HTTP request with Cocoa
  • Next by Date: Re: NSArray as a static
  • Previous by thread: Re: how to delete the current user's directory?
  • Next by thread: QTCaptureConnectionEnabledAudioChannelsAttribute read only
  • Index(es):
    • Date
    • Thread