Re: setHidden: on MacOS 10.2
Re: setHidden: on MacOS 10.2
- Subject: Re: setHidden: on MacOS 10.2
- From: Daniel Todd Currie <email@hidden>
- Date: Thu, 29 Apr 2004 10:13:38 -0700
Ok, I've seen some suggestions here that are nothing less than
appalling...
Some other cocoa programmers and I have discussed this problem and we
all agreed that using -removeFromSuperview and -addSubview: are the
best way to emulate Panther's -setHidden: functionality.
Please, please, please, do yourself a favor and look at this sample
project I put together:
http://dtcurrie.dnsalias.org/public/HiddenTest.sit
-- Daniel Currie
On 2004 Apr 29, at 03:06, Michael Becker wrote:
My application runs fine on Panther, but now I have received several
crash reports of my application crashing on Jaguar, in this case
10.2.8. Among other things, it complains that [NSButton setHidden:] is
not okay. Most obviously because NSView's setHidden: is only available
on 10.3+, which I didn't realize before. Is there any easy way for me
to imitate a setHidden: or build a workaround for 10.2?
_______________________________________________
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.