• 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
my drawer won't close
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my drawer won't close


  • Subject: my drawer won't close
  • From: James Walker <email@hidden>
  • Date: Fri, 19 Jun 2009 12:19:26 -0700

I set up a drawer in IB, with an NSScrollView containing an NSTextView as my content view. I open it programmatically, and it looks fine. But when I try to close the drawer using the mouse, it just beeps.

I tried making my controller the delegate of the NSDrawer and adding the drawerShouldClose: delegate method returning YES, but the method doesn't get called. Closing the drawer programmatically does work, and in that case the delegate method is called.

I looked at the DrawerMadness sample project, but couldn't see what it was doing differently. Any ideas?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: my drawer won't close
      • From: "James W. Walker" <email@hidden>
  • Prev by Date: Re: Just implementing -isEqual:, never invoked, causes crash
  • Next by Date: Re: Basic, but still confuses me (initWithFrame and drawRect)
  • Previous by thread: Rosetta Booster Conclusion - It Works
  • Next by thread: Re: my drawer won't close
  • Index(es):
    • Date
    • Thread