Re: Creating NSViews with code.
Re: Creating NSViews with code.
- Subject: Re: Creating NSViews with code.
- From: j o a r <email@hidden>
- Date: Thu, 17 Feb 2005 00:34:11 +0100
On 2005-02-17, at 00.27, Jonathan E. Jackel wrote:
I need to have 8 different setups of a window. Basically think of a
CAD
application and allowing the user how they want to view the 3
dimensions (2 panes, 3 panes, 4 panes, in different configurations ...
). Which would be the best way of doing this:
Programmatically adding the views
Not unless your views are really simple, trivial things. Even then, I
probably wouldn't.
Having multiple nibs for each different setup and loading the
respective one
Bingo!
Or wrap all view configurations in a tab view, with a separate
configuration per tab.
When the user wants to use a different configuration, you just switch
to the corresponding tab.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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