Re: NSTabView-like view and NSWindowController
Re: NSTabView-like view and NSWindowController
- Subject: Re: NSTabView-like view and NSWindowController
- From: Mike Abdullah <email@hidden>
- Date: Fri, 2 Mar 2007 11:02:33 +0000
Why can't you use NSTabView and set it not display a border or tabs?
That way it can fill the whole window.
Mike.
On 2 Mar 2007, at 07:46, email@hidden wrote:
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:
40mikeabdullah.net
This email sent to email@hidden
_______________________________________________
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