• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setHidden: on MacOS 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: setHidden: on MacOS 10.2
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: setHidden: on MacOS 10.2
      • From: Public Look <email@hidden>
References: 
 >setHidden: on MacOS 10.2 (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Non-Specific Linker Errors
  • Next by Date: Newbie Question
  • Previous by thread: Re: setHidden: on MacOS 10.2
  • Next by thread: Re: setHidden: on MacOS 10.2
  • Index(es):
    • Date
    • Thread