On Feb 19, 2009, at 9:28 PM, Graham Cox wrote:

Undo isn't *required* to be symmetrical. It just happens to be when setting a single property like your -setColor: example.
...
Seems to me this is the sort of design you want.

Yes, yes it is...

On Feb 19, 2009, at 8:29 PM, Michael Ash wrote:

I'm afraid I don't understand the difficulty.

Well, it turns out (as was pointed out to me in an off-list message-- thanks again, Greg!) the "difficulty" was me severely over-thinking the issue, and getting off-track by setting up some Undo stuff outside of the method where it really belonged. Fixing that, and cracking open another bottle of Mt. Dew set me straight, and now I've nearly completed the entire task.

Thanks for all your feedback!
randy
_______________________________________________

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