• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating NSViews with code.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Creating NSViews with code.
      • From: Daniel Jalkut <email@hidden>
References: 
 >RE: Creating NSViews with code. (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: RE: Creating NSViews with code.
  • Next by Date: Scrolling a text cell in an NSTableView subclass...
  • Previous by thread: RE: Creating NSViews with code.
  • Next by thread: Re: Creating NSViews with code.
  • Index(es):
    • Date
    • Thread