Tabs and Documents Design Considerations
Tabs and Documents Design Considerations
- Subject: Tabs and Documents Design Considerations
- From: Dimitri Bouniol <email@hidden>
- Date: Wed, 16 Aug 2006 11:45:56 -0700
In my NSDocument-Based App, I would like to feature tabs in the
windows, so multiple NSDocuments can share the same real-estate. I
would also like to be able to drag tabs between windows, or to drag
them in a empty space to create a new window. How should I organize
this with my classes? Should I:
- Have a mutable array of window controllers and a mutable array of
documents (without their own window controllers)
- Have a mutable array of window controllers and a mutable array of
documents with their own window controllers that don't have windows
- Have a mutable array of window controllers and a mutable array of
documents with their own window controllers that have a custom
subclass of NSWindow
I would personally go with the first or second option, but I do not
know how I can have an NSDocument without a window controller or a
window controller without a window. And I have no idea how
subclassing NSWindow will work... Please Help Me.
--
Dimitri Bouniol
email@hidden
_______________________________________________
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