Re: Recursive file remove
Re: Recursive file remove
- Subject: Re: Recursive file remove
- From: Kyle Sluder <email@hidden>
- Date: Sat, 14 Aug 2010 00:58:54 -0700
On Sat, Aug 14, 2010 at 12:54 AM, Kyle Sluder <email@hidden> wrote:
> Or take a look at -[NSWorkspace recycleURLs:completionHandler:] and
> -[NSFileManager removeItemAtPath:error:].
Ah, forgot about 10.4 compatibility. The 10.4 version of
-recycleURLs:completionHandler: is
-performFileOperation:source:destination:files:tag: with an operation
argument of NSWorkspaceRecycleOperation. The 10.4 version of
-removeItemAtPath:error: is -removeFileAtPath:handler:. Both are
listed in their respective classes' reference documentation.
--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