Re: does windowDidClose or not?
Re: does windowDidClose or not?
- Subject: Re: does windowDidClose or not?
- From: Ben Dougall <email@hidden>
- Date: Mon, 17 Apr 2006 01:15:51 +0100
On Sunday, April 16, 2006, at 11:33 pm, Finlay Dobbie wrote:
On 16/04/06, Ben Dougall <email@hidden> wrote:
do some things based on the user's input into the window (check boxes
+
text fields etc.). when the user closes the window that's when i want
to go to work on the the info that the user has input. windowWillClose
seems a bit too early.
What makes you say that?
windowWillClose is before it has closed so there may be still a text
field in mid edit -- that's possible isn't it? and maybe the current
edit state is not acceptable (according to a formatter or particular
validation) so would need further editing by the user. so in that
situation going to work on the input data at windowWillClose point will
be too early. if there were a windowDidClose i wouldn't need to
consider the mid edit possibility at all because once the window has
closed there can not possibly be any editing going on.
_______________________________________________
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