NSTabView-like view and NSWindowController
NSTabView-like view and NSWindowController
- Subject: NSTabView-like view and NSWindowController
- From: email@hidden
- Date: Fri, 2 Mar 2007 08:46:47 +0100 (CET)
- Importance: Normal
Hello all,
I'm currently working on a "swap view" in a window (much like an NSTabView,
with two contents displayed alternatively in the
same window, but I want the two views to be "full-window" so I can't use
NSTabView). The "TextSizingExample" source code by Mike Ferris is a clear
example on how to do this, but its main limitation is that it does not use
the NSDocument architecture at all, and it is as yet unclear to me how the
code could be adapted to NSDocument and NSWindowController objects.
As I see it, I should have just one NSDocument subclass and just one
window, and two nib files. But should I use one NSWindowController
(the default one for the document) or two (one for each nib file) ?
Thanks in advance for any suggestions ....
Ewan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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