• 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
window delegate madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

window delegate madness


  • Subject: window delegate madness
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 8 Oct 2002 20:03:02 +0200

In a document based application, I open two documents (with two calls
to openPanel, if I open two documents in one openPanel, no bug occurs)
close the first one and windowShouldClose: gets called (which proves
that the window does have a proper delegate) but windowWillClose: is
not called.
Both methods have NSLog() statements.

Closing the other window both delegate methods get called, as it should
be.

When I do this too often, the bug disappears. When I restart the app,
the bug reappears (which is the only reassuring thing).

Each document has a repeating NSTimer. Without timer, or with a
non-repeating timer, the bug does not appear.

Has anybody seen something like this? Any suggestions?

Gerriet.
_______________________________________________
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.

  • Prev by Date: Re: C to Objective-C
  • Next by Date: cascading documents
  • Previous by thread: Re: Still having problems with selectors
  • Next by thread: cascading documents
  • Index(es):
    • Date
    • Thread