Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggling Visibility for NSPanel




On Oct 24, 2007, at 11:29 PM, Jason Barker wrote:

I tried -close which works (but it doesn't show up in the code
completion list). Both -orderOut and -makeKeyAndOrderFront yield the
'selector not recognized' error. Is there something else I can try?

It's -orderOut:, not -orderOut. Notice the :. NSPanel inherits from NSWindow, so don't forget to check the documentation of a class' superclasses.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Toggling Visibility for NSPanel (From: "Jason Barker" <email@hidden>)
 >Re: Toggling Visibility for NSPanel (From: Nick Zitzmann <email@hidden>)
 >Re: Toggling Visibility for NSPanel (From: "Jason Barker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.