• 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 17:16:45 +0100


On 2005-02-17, at 16.59, Coleman Nitroy wrote:

How does a tab view store the "un-scene" views. I will have 19 NSOpenGLViews all running and chugging away if the tabs keep the subviews "alive". This will be a performance hit unless I tell the NSOpenGLViews not to render anything if there super is not current, and even then I still worry. I only ask because with my amount of experience with cocoa implementing this would take me a while, and I want to make sure I have found a proper path to take.

The tab view keeps the hidden views in some sort of collection, but they are no longer in the view hierarchy of the window. Not that we should care perhaps, it's probably to be considered an implementation detail of the tab view.


If you choose to use a tab view, you would of course in this case implement the tab view delegate methods to be notified of changes to the selection, and update wich views you use for drawing accordingly.

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: Coleman Nitroy <email@hidden>
References: 
 >RE: Creating NSViews with code. (From: "Jonathan E. Jackel" <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: Daniel Jalkut <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: j o a r <email@hidden>)
 >Re: Creating NSViews with code. (From: Coleman Nitroy <email@hidden>)

  • Prev by Date: OCUnit and main bundle
  • Next by Date: Re: Adding encryption to an application
  • Previous by thread: Re: Creating NSViews with code.
  • Next by thread: Re: Creating NSViews with code.
  • Index(es):
    • Date
    • Thread