NSDocument dealloc?
NSDocument dealloc?
- Subject: NSDocument dealloc?
- From: Scott Johnson <email@hidden>
- Date: Sun, 16 Sep 2001 08:02:01 -0400
Hello,
I have a cocoa application that is based on the document model provided
in Cocoa and my setup is similar to that of the Sketch example (i.e. I
have a custom window controller that manages UI-related activities of my
document window while my document subclass handles data-related
manipulation).
I am uncertain what I have done differently from Sketch (nothing that I
can see) but for some reason my -dealloc method is never called when the
document window is closed. There is only one document window associated
with my document type.
I'd appreciate any tips as to why this is the case.
Regards,
Scott