• 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
Drawer problem (probably newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawer problem (probably newbie)


  • Subject: Drawer problem (probably newbie)
  • From: Mike Dean <email@hidden>
  • Date: Tue, 31 Dec 2002 11:50:05 -0700

I have a multidoc app with several drawers. In one drawer there is a tableview, and I update that tableview when I push a button that is in that drawer. However, I need a way to assure that while the drawer is closed, if the tableview changes, that it is updated before opening the drawer.

I note that the button on the main window that is causing the drawer to open is connected to the toggle method from NSDrawer. However, I am unclear how to alter this handling.

I did go into IB and find NSDrawer, and it is possible to "add a method" to that - then I could reconnect the drawer to have it go to my method instead of toggle. However, this looks like I am altering the underlying NSDrawer class directly, so when I update my development environment I will lose those changes. Bad idea, I think.

Any help will be appreciated.

- Mike Dean
_______________________________________________
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.

  • Prev by Date: Re: Dynamic color changes in a text view
  • Next by Date: Re: the best way to implement a document based app that also manages documents?
  • Previous by thread: Re: Dynamic color changes in a text view
  • Next by thread: Re: the best way to implement a document based app that also manages documents?
  • Index(es):
    • Date
    • Thread