• 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
Disappearing link back to the document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disappearing link back to the document


  • Subject: Disappearing link back to the document
  • From: Denis Defreyne <email@hidden>
  • Date: Tue, 24 Feb 2004 20:49:02 +0100

Hello,

I have a NSDocument-based project which has one main window controller
and a set of special window controllers. New window controllers are
added and removed to this set during runtime. A new window controller
is alloc'ed and init'ed, and added to the document's window controllers
set (through addWindowController:), and also to the set of special
window controllers. This causes a document: link to be established.

However, right before the window closes, the link back to the document
seems to vanish, and document: returns nil. Right before really means
right before; document: returns nil even before the window closes (I
added a windowWillClose: delegate method to find this out).

Any ideas?

Regards,

--
mail: email@hidden
web: http://amonre.bedesign.be/
_______________________________________________
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: key value observing stops
  • Next by Date: NSArrayController and bindings
  • Previous by thread: RE: showing a sheet on run?
  • Next by thread: NSArrayController and bindings
  • Index(es):
    • Date
    • Thread