Re: Undoable controls
Re: Undoable controls
- Subject: Re: Undoable controls
- From: Sherm Pendley <email@hidden>
- Date: Thu, 8 Sep 2005 04:11:23 -0400
On Sep 7, 2005, at 9:44 PM, Frode wrote:
My software needs undoable controls for NSControls, in particular
for textfields (NSTextField, not NSTextView!) and checkboxes
(NSButton).
That's not the usual way of thinking about it. Normally, undo is
thought of as applying to your application's data - that is, the
Model layer objects in an MVC design. The controls you're speaking of
- the View layer - reflect the state of the data, and update
themselves accordingly when they're notified of data changes.
Anyway, to learn about undo, here's a good place to start:
http://developer.apple.com/documentation/Cocoa/Conceptual/
AppArchitecture/Concepts/Undo.html
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden