Re: Hiding Custom NSViews?
Re: Hiding Custom NSViews?
- Subject: Re: Hiding Custom NSViews?
- From: "Erik M. Buck" <email@hidden>
- Date: Mon, 24 Sep 2001 18:16:14 -0500
For other discussions of the same topic
See:
http://www.omnigroup.com/search-bin/macosx-dev?Search=3Dhide+control
For a solution to add -isVisible and -setIsVisible: methods to every =
View
See: =
http://www.omnigroup.com/mailman/archive/macosx-dev/2001-February/009681.=
html and don't forget to read why it is a bad idea.
If you are creating custom NSView subclasses then just add -isVisible
and -setIsVisible: methods and an appropriate instance variable.
Overload -display to do nothing if -isVisible returns NO.
----- Original Message -----