Re: Seeking advice on best practice for managing visibility of many subviews
Re: Seeking advice on best practice for managing visibility of many subviews
- Subject: Re: Seeking advice on best practice for managing visibility of many subviews
- From: Stuart Malin <email@hidden>
- Date: Wed, 1 Apr 2009 23:21:27 -1000
On Apr 1, 2009, at 10:54 PM, Alexander Spohr wrote:
Am 02.04.2009 um 04:47 schrieb Stuart Malin:
I have a view that has hundreds of subviews.
This sounds like a conceptual error. You could make something like
cells instead of views, to avoid the NSView overhead. Arrange them
in groups (NSArray/NSSet?) Then just don’t draw the groups you don’t
want.
Alas, I don't believe it is a conceptual error, just a complex U/I --
the many views that I am controlling the display of each have multiple
sub views themselves as well as multiple controls... text, images, and
buttons. The view I am managing is like a table (many rows) of the
same basic sub view (display a variety of info, and having controls).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden