KVO unregistering, document-based app
KVO unregistering, document-based app
- Subject: KVO unregistering, document-based app
- From: Raphael Sebbe <email@hidden>
- Date: Tue, 23 Dec 2003 13:12:37 +0100
Hi all,
My application is a document-based app and several NSController are set
up for binding.
"Global controllers" (I mean, shared across documents, yet depending on
the document being edited) are bound to Shared
Application.mainWindow.document, other controllers are directly bound
to the document.
When I quit the app, I get this:
2003-12-23 13:00:22.854 XXXXXXXXXXX[1148] An instance 0x652910 of class
MyDocument is being deallocated while key value observers are still
registered with it. Break on _NSKVODeallocateLog to start debugging.
Is there a way to unregister all the controllers relating to a document
at one time ? Or do I have to keep around an IBOutlet to every
controller in every NIB and do it manually ?
Many thanks,
Raphael
_______________________________________________
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.