• 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: Mark Woollard <email@hidden>
  • Date: Thu, 29 Apr 2004 11:31:36 +0100

I came across this recently and for our app, and as a workaround if on 10.2, we move the control outside its parent view instead. NSScrollView does the same thing for hidden scrollers, they end up at -100,-100 when hidden. Use 'respondsToSelector' to check if a control supports setHidden.

Mark

On 29 Apr 2004, at 11:06, Michael Becker wrote:

Hello!

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?

Furthermore, this error is bugging me out (in terminal.app):
"No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting"

What gives?

Regards,
Michael
_______________________________________________
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.
_______________________________________________
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.


References: 
 >setHidden: on MacOS 10.2 (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: setHidden: on MacOS 10.2
  • Next by Date: Re: setHidden: on MacOS 10.2
  • Previous by thread: Re: setHidden: on MacOS 10.2
  • Next by thread: Re: setHidden: on MacOS 10.2
  • Index(es):
    • Date
    • Thread