Re: Model objects to NSUndoManager--am I doing it right?

2009-08-20 Thread Graham Cox
On 21/08/2009, at 1:18 AM, Graham Cox wrote: On 20/08/2009, at 5:17 AM, Paul Bruneau wrote: In summary, it seemed like a Long Way to Go just to let my new Entrance objects know who their document is. In my future is the fact that Entrances will have FrameModules, which may contain a Doo

Re: Model objects to NSUndoManager--am I doing it right?

2009-08-20 Thread Graham Cox
On 20/08/2009, at 5:17 AM, Paul Bruneau wrote: In summary, it seemed like a Long Way to Go just to let my new Entrance objects know who their document is. In my future is the fact that Entrances will have FrameModules, which may contain a Door, which will contain an array of Cutouts and so

Model objects to NSUndoManager--am I doing it right?

2009-08-20 Thread Paul Bruneau
Hi all- I'm just starting my first real document-based Cocoa app. My other app was non-document based and the undo system was quite different (plus I know I did some things wrong MVC-wise in that app). The documentation I have read tells me that I should implement undo in the Setter metho