• 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
Cannot Connect to NSDrawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot Connect to NSDrawer


  • Subject: Cannot Connect to NSDrawer
  • From: "Jason Barker" <email@hidden>
  • Date: Mon, 22 Oct 2007 09:26:27 -0600

I have created a document project in Xcode with a MyDocument class. I
added an outlet to a NSDrawer instance and connected the outlet to the
drawer in Interface Builder. I added a menu item to my MainMenu.nib
(Test > Test Drawer) that sends a message to the first responder. It
is picked up by DrawerController (NSWindowController) which sends a
message to the NSDrawer instance to toggle itself. But the only thing
is that the outlet to the drawer is not set. So I added a button to
the MyDocument nib and connected it to the toggle action of the
drawer. Clicking the button works. Using the menu item does not.

A copy of my test project is available at:
http://www.neuromight.com/cocoa/DrawerTest.zip

Could someone tell me why it's not working the way I want and what I
should do to fix it?


Thank you,
Jason
_______________________________________________

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: Cannot Connect to NSDrawer
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Text wrap in NSTextView-> how to get wrapped NSString
  • Next by Date: Re: launchd daemon and Distributed Objects.
  • Previous by thread: Re: Text wrap in NSTextView-> how to get wrapped NSString
  • Next by thread: Re: Cannot Connect to NSDrawer
  • Index(es):
    • Date
    • Thread