Re: How to empty the Trash programmatically?
Re: How to empty the Trash programmatically?
- Subject: Re: How to empty the Trash programmatically?
- From: Jayson Adams <email@hidden>
- Date: Fri, 16 Apr 2010 09:30:31 -0700
On Apr 16, 2010, at 12:22 AM, Graham Cox wrote:
> Don't.
>
> The only app that the user wants to empty the trash is Finder, not yours. If they want it emptied (or emptied securely), they'll go to the Finder and use the menu there. It's OK for your app to move stuff to the trash as long as it's clear to the user that will happen, but emptying it is not your business. The clue really is the fact that doing so is not supported directly by an API.
Hey all of you of limited vision standing on your soapboxes - give me a break! He couldn't possibly be asking because he wants to create a Finder/desktop replacement app (like the Finder works so well we don't need one of those). These kinds of preachy know-it-all rants are really tiresome, but unfortunately they happen a lot on this list.
__jayson
Circus Ponies NoteBook - Organization for a Creative Mind
www.circusponies.com
_______________________________________________
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