On Mon, Jan 19, 2015, at 01:22 PM, Steve Mills wrote:
> On Jan 19, 2015, at 13:06:02, Greg Parker <gpar...@apple.com> wrote:
> > 
> > Are you sure you want the Finder's Undo command to undo an action taken 
> > inside your app? That sounds like a very strange user experience. 
> 
> Yes. Finder is the app that *I* think of when it comes to file
> management. It "owns" the trash. When you empty the trash in iPhoto
> (which is essentially moving the file from its own private trash to the
> real Trash), you can not undo it from iPhoto. It even warns you about
> that.

I understand where you're coming from, but this is not how apps behave
on the Mac. If deleting something in your app altered the Undo stack in
Finder, it would also wipe Finder's Redo stack, causing data loss.

So I agree with Greg: you shouldn't do this. If the user wants to
restore a file deleted in your app, they can open up the Trash, select
the file, and choose Put Back.

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

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

Reply via email to