Disappearing link back to the document
Disappearing link back to the document
- Subject: Disappearing link back to the document
- From: Denis Defreyne <email@hidden>
- Date: Tue, 24 Feb 2004 20:49:02 +0100
Hello,
I have a NSDocument-based project which has one main window controller
and a set of special window controllers. New window controllers are
added and removed to this set during runtime. A new window controller
is alloc'ed and init'ed, and added to the document's window controllers
set (through addWindowController:), and also to the set of special
window controllers. This causes a document: link to be established.
However, right before the window closes, the link back to the document
seems to vanish, and document: returns nil. Right before really means
right before; document: returns nil even before the window closes (I
added a windowWillClose: delegate method to find this out).
Any ideas?
Regards,
--
mail: email@hidden
web:
http://amonre.bedesign.be/
_______________________________________________
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.