Support files for MacEdition

By MarkD on August 10 2003

Be sure to read the Undo article over at MacEdition, Undology 101


basicundo.tar.gz, source and project files showing basic undo operations. Each of the UI items there registers and undoable operation. You can create your own undo groups, as well as purge the undo stack. The program does a lot of logging to show what's happening under the hood.


undoqueue.tar.gz, source and project files showing the coalesced undo technique for continuous controls. Watch the logging as you drag the slider and color well around, and notice how many undo actions are being registered, and how long they take to undo. Then turn on the Coalesce Undo checkbox and do the same thing. Only one undo operation is performed.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book