NSDocument and quitting
NSDocument and quitting
- Subject: NSDocument and quitting
- From: James Mastro <email@hidden>
- Date: Tue, 9 Dec 2003 19:10:41 -0500
I have some data in my NSDocument subclass that needs to be cleaned up
when quitting. One example being a temp folder that I need to delete. I
tried doing this in dealloc, but it appears to not be called when
quitting. It works fine when closing a document without quitting. Where
can I put code that will definitely be called when the document goes
away?
-jim
_______________________________________________
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.