Re: does windowDidClose or not?
Re: does windowDidClose or not?
- Subject: Re: does windowDidClose or not?
- From: "Trevor Goodson" <email@hidden>
- Date: Sun, 16 Apr 2006 18:53:02 -0400
Depending on what you're trying to do:
Perhaps you can override the
windowShouldClose: or windowWillClose: methods by grabbing data from all the
fields you have in that window; you could place their values into a
dictionary (i.e. NSMutableDictionary) and pass that to the appropriate
object.
You could even post the dictionary as a notification of your own.
Others have comments about the preferred(TM) way of doing these sorts of
things?
From: "Finlay Dobbie" <email@hidden>
Reply-To: email@hidden
To: "Ben Dougall" <email@hidden>
CC: email@hidden
Subject: Re: does windowDidClose or not?
Date: Sun, 16 Apr 2006 23:33:24 +0100
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?
_______________________________________________
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