On May 19, 2008, at 1:33 PM, Peter Duniho wrote:]

Your point being? If you think your example is useful in presenting your claim, you'll need to be a lot more specific.

undoManager.prepareWithInvocationTarget(this).setColor(mColor);

I could be wrong, but in C#, wouldn't this UndoManager need to be defined beforehand as responding to setColor, and any other method that could require undo?

NSUndoManager doesn't. It doesn't have to be coded to handle setColor, or any other method that you might want to have undone.


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to