• 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
inspector binding through mainWindow.document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inspector binding through mainWindow.document


  • Subject: inspector binding through mainWindow.document
  • From: John Terranova <email@hidden>
  • Date: Fri, 23 Jul 2004 22:41:48 -0700

I've got an inspector utility window who's controls bind to Shared App.mainWindow.document. The problem is that when I close the frontmost window, I get errors in XCode that I'm freeing my NSDocument while it still has object binding to it.

There must be a simple way to unbind all the inspector controls at once because if I open two documents and close (by clicking the red button) the inactive window, then it closes silently. Also, if I have only one document open, activate another app, then close the document without activating my window, it also closes silently.

Any suggestions for the proper way to do these bindings and close the active window?

Thanks much.
--
john terranova, email@hidden

"I can't run no more with that lawless crowd
while the killers in high places say their prayers out loud."
-- Leonard Cohen, "Anthem"
_______________________________________________
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: SOLVED Re: Windows and Default Notification Center
  • Next by Date: Do drawers have controllers?
  • Previous by thread: SOLVED Re: Windows and Default Notification Center
  • Next by thread: Do drawers have controllers?
  • Index(es):
    • Date
    • Thread