Subclass of NSDocument close method called twice
Subclass of NSDocument close method called twice
- Subject: Subclass of NSDocument close method called twice
- From: Julien Palmas <email@hidden>
- Date: Thu, 28 Apr 2005 10:17:13 +0900
In the sub class of my NSDocument, I've overriden the close method. I
think this is a common practice, isn't it ? At the end of the method, i
call [super close]
When I close a document window, this method gets called once, perfect.
But if I quit the application instead of only closing the document
window, the method gets called twice, and it leads to many problems.
Is that normal behaviour ? That would be weird, a document should
receive only once a close method ....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden