Re: Recursive file remove
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