• 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: Recursive file remove
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recursive file remove


  • Subject: Re: Recursive file remove
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 14 Aug 2010 17:13:57 -0700

On Aug 14, 2010, at 15:59, Tom Jones wrote:

> I would love to use "NSFileManager" since you and the others are right it does recursive by default, I'm not sure how I missed that, staring to long at code :). But I need to support 10.4 and according to the docs it's 10.5 and later. So what I've done is if it's a 10.4 I'm using system and on 10.5 and higher I'm using NSFileManager.

'removeItemAtPath:error:' is available on 10.5 and above, but 'removeFileAtPath:handler:' -- mentioned at least once earlier in this thread -- is available for 10.0-10.5.


_______________________________________________

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: 
 >Recursive file remove (From: Tom Jones <email@hidden>)
 >Re: Recursive file remove (From: Don Quixote de la Mancha <email@hidden>)
 >Re: Recursive file remove (From: Jerry Krinock <email@hidden>)
 >Re: Recursive file remove (From: Tom Jones <email@hidden>)
 >Re: Recursive file remove (From: lbland <email@hidden>)
 >Re: Recursive file remove (From: Charles Srstka <email@hidden>)
 >Re: Recursive file remove (From: Tom Jones <email@hidden>)

  • Prev by Date: Re: Recursive file remove
  • Next by Date: Re: isTemporaryID unrecognized selector?
  • Previous by thread: Re: Recursive file remove
  • Next by thread: Re: Recursive file remove
  • Index(es):
    • Date
    • Thread