• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Action based undo or snapshot based undo?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Action based undo or snapshot based undo?


  • Subject: Re: Action based undo or snapshot based undo?
  • From: Eric Wang <email@hidden>
  • Date: Wed, 29 Jan 2003 20:10:13 -0500

on 1/29/03 2:32 AM, Alexander Lamb at email@hidden wrote:

> Hello,
>
> As I understood, the NSUndoManager is based on the idea of recording a
> series of actions needed if the user wants to undo what he just did.
> In Bill Cheeseman's book, he recommands recording those actions in the
> action methods rather than at the object level, because it reflects
> more closely what the user is doing and allows to customize the undo
> for an action that may involve several changes on objects attributes.
>
> ...
>
> So, my questions:
>
> - Is there something being developped going that direction?
> - Is the interface and object layer of EOF considered EOL (e.g. dead or
> can it be used... in Objective-C)?
> - Am I missing totally something here?
>
> Thanks,
>
> Alex


In Bill's defense, I'm pretty sure he recommends that you implement your
undo code at the model level. I haven't read his book yet, but all
throughout his Vermont Recipes tutorials (on Stepwise), he stressed that you
should record undoable changes in your model. He does say that you should
set action names at the controller level though.


Eric Wang
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Action based undo or snapshot based undo? (From: Alexander Lamb <email@hidden>)

  • Prev by Date: Re: Setting the Default Browser?
  • Next by Date: NSToolbarItemIdentiferPboardType is obsolete?
  • Previous by thread: Re: Action based undo or snapshot based undo?
  • Next by thread: Re: Action based undo or snapshot based undo?
  • Index(es):
    • Date
    • Thread