I have a view that has hundreds of subviews. The user can control
filters which causes different of the subviews to be presented; the
collection of selected-for-presentation subviews are repositioned in
the super view. I can think of two ways to handle this, and am not
sure which is best:
1) remove and add subviews from the super view each time the filter
criteria changes, or
2) leave all views in the super view, and just use -setHidden: to
control whether presented or not.
If the second approach is a better practice, does it matter where the
hidden views are positioned?
TIA.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com