inspector binding through mainWindow.document
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.