Re: setHidden: on MacOS 10.2
Re: setHidden: on MacOS 10.2
- Subject: Re: setHidden: on MacOS 10.2
- From: cricket <email@hidden>
- Date: Fri, 30 Apr 2004 11:44:41 -0700
On Apr 29, 2004, at 2:08 PM, M. Uli Kusterer wrote:
Okay, I'll bite: *why* are the other options presented so far so bad?
I see perfectly valid reasons for using most of them in certain
circumstances, and I'd be interesting in finding out whether I may
have missed something.
IMHO:
- Moving the widget in question to (-100, -100) is a common tactic that
I've seen used in many other circumstances (although never in Cocoa to
hide a widget), and I've seen it bite people later on, when the
assumption of -100, -100 being a good place to park things suddenly is
no longer the case.
- Using a tabview (and hiding the tabs) can be a good idea in many
cases. However, consider the case where you have a view with 100
widgets in it and you want to hide one. Duplicating 99 of them in a
second view uses up extra disk space, could affect nib loading times,
and is just inviting potential problems (i.e. did I hook up all 99
widgets the same way in both views?)
- cricket
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.