• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subclass of NSDocument close method called twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Better diff tool?
  • Next by Date: SetFrame in drawPageBorderWithSize
  • Previous by thread: Re: Better diff tool?
  • Next by thread: SetFrame in drawPageBorderWithSize
  • Index(es):
    • Date
    • Thread