Re: Document closing behaviour
Re: Document closing behaviour
- Subject: Re: Document closing behaviour
- From: Edwin Vane <email@hidden>
- Date: Sun, 2 Oct 2005 22:35:37 -0400
- Mail-followup-to: Cocoa-Dev <email@hidden>
To help narrow the response, I'm interested in what happens between a
window being closed (by NSApplication or NSDocumentController from what
I can make out) and the document's removeWindowController being called.
My main window gets closed but the window controller is never removed...
Secondly, what needs to be done to a window for NSApplication to know
about it and close it when the document is closing? I have a special
window which has a window controller attached
to the document but it is only ever meant as a modal dialogue box so I
keep it hidden all the time. By doing this, NSApplication doesn't seem
to know the window exists until the window has shown up once...
On Sun, Oct 02, 2005 at 09:33:03PM -0400, Edwin Vane wrote:
> I've tried through the docs for a concise description of what happens
> when a document is closed but haven't had much luck. I just want to know
> what happens with respect to the document, window controllers, and
> windows when the user quits the application for instance. I'm trying to
> track down why two window controllers associated with my document aren't
> being removed from the window controller list and the document doesn't
> get deallocated.
>
> --
>
> Edwin Vane
> MMath Candidate
> Computer Graphics Lab
> School of Computer Science
> University of Waterloo
>
> _______________________________________________
> 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
>
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
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