• 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: Greg Hulands <email@hidden>
  • Date: Thu, 29 Apr 2004 20:24:44 +1000

I think you will need to use the availability macros to wrap some of your code. The pre panther days you have to remove the view from the super view. Remeber to retain it before removing it. This will achieve the same as hiding it.

HTH,
Greg

On 29/04/2004, at 8:06 PM, 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: setHidden: on MacOS 10.2
  • Next by Date: Re: setHidden: on MacOS 10.2
  • Previous by thread: setHidden: on MacOS 10.2
  • Next by thread: Re: setHidden: on MacOS 10.2
  • Index(es):
    • Date
    • Thread