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 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