Re: Using Undo for a ported PC app
Re: Using Undo for a ported PC app
- Subject: Re: Using Undo for a ported PC app
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 24 Jan 2007 11:45:32 -0800
On Jan 24, 2007, at 5:56 AM, Theodore H. Smith wrote:
The thing about NSUndoManager is that it is a multi-level undo
framework, and this app is a single undo.
You do realize that Mac users will consider the app broken for that
reason, right?
NSUndoManager is just a pair of message stacks. That's one of the
things that the Obj-C runtime makes possible: we can capture a
message, send it to another object, or save it in a list for future
use. NSUndoManager's documentation isn't abstract, but it may seem
that way to you since it really is that simple.
Several years ago, Ken Dyke wrote a very good description of the
differences between Obj-C and C++, and he used the example of
NSUndoManager to make the comparison. You can read it here:
http://groups.google.com/group/comp.sys.be.advocacy/browse_thread/thread/50e50095254331ca/539c710d63b22151?lnk=st&q=undoManager+author:Kenneth+author:Dyke&rnum=1#539c710d63b22151
-jcr
John C. Randolph <email@hidden> (408) 914-0013
RoamingCocoa Engineer,
Available at great Expense and Inconvenience.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden