On Sat, Aug 14, 2010 at 12:54 AM, Kyle Sluder <kyle.slu...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to