On 16 Apr 2010, at 09:46:27, Jeremy Pereira wrote: > On 16 Apr 2010, at 08:22, 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. > > +1 to that. Any application that emptied my Trash programmatically would > find itself being the first new item in there.
To be fair though, if it is a user-initiated emptying and it is done via Finder, then I think it is fine to initiate a Trash emptying from another app. What isn't fine is for it to be done behind the user's back. Matt Gough_______________________________________________ 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