Hooking NSDocument close
Hooking NSDocument close
- Subject: Hooking NSDocument close
- From: Donald Brown <email@hidden>
- Date: Wed, 12 Jun 2002 16:31:29 -0500
I need to catch when my document is about to go away (so I can save the user
position). I've overridden canCloseDocumentWithDelegate to save my info and
then call [super canCloseDocumentWithDelegate...], and this works when the
document is closed (by clicking in the window's close box or choosing close
from the menu). But, when the app quits, it's not called. Is there some
other place I should be patching?
Donald
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
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.