Re: Creating NSViews with code.
Re: Creating NSViews with code.
- Subject: Re: Creating NSViews with code.
- From: Coleman Nitroy <email@hidden>
- Date: Thu, 17 Feb 2005 09:13:22 -0500
I think it's a bad idea to (ab)use tab views like this. Whatever the
number of configurations (N), you will have (N * N-1) wasted
instances of tab view UI content views. I agree with the proposition
that one should not worry about performance until it's measurable,
but in this case it's really just as easy to have a blank slate into
which you set a view loaded from a specific nib.
A tab view is IMO an excellent UI element for something like this. It
basically provides all the subview-management for you, so you don't
have to write any code to do that.
You guys both pose some interesting ideas. Right now this is the sort
of thing I have: http://nitroy.com/cole/Files/Temp/SubViewsAreHard.png.
An inspector panel basically, and a preference for the defaults. If I
could get rid of the inspector styled panel I would but so far I could
not figure out how to customize each view specifically.
Each view needs to be able to have different types, (i.e. is it a Top
down or Perspective view) and other display preferences, like the
rendering mode (wireframe, solid, textured) and lighting preferences.
At first I had a dropdown list and buttons next to in someway to each
view, but that was very cluttered, so I moved to a inspector style
panel (displayed in the screenshot above), where the currently focused
view preferences can be changed, as well as the windows global view
preferences.
---
Coleman Nitroy
email@hidden
nitroy.com/cole
_______________________________________________
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