Document with Multiple Windows
Document with Multiple Windows
- Subject: Document with Multiple Windows
- From: Mike Rossetti <email@hidden>
- Date: Mon, 26 Nov 2007 20:48:16 -0700
After searching the documentation and the list archives I'm still
looking for a solution to a nagging little problem: Having a (Core
data) document that has multiple windows, all of which should
represent the documents dirtiness and support saving and undo/redo.
This document has a master-detail relationship. The main window lists
and allows the creation, editing and deleting of the master
components. Additional windows can be opened for the items in the main
window and are used to create, edit and delete sub-components.
(Imagine purchase orders with line items.)
I'm close: I can make edits in the main window and see them in the sub-
component windows, and vice versa. But only the main window shows
dirtiness and can be used to undo/redo. The additional windows can
save the document but if I try an undo then I just get a beep.
It would be nice if there was a simple example of how to do this.
Aside from that, does anyone have any suggestions?
Thanks,
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden