• 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
Re: does windowDidClose or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: does windowDidClose or not?
      • From: Alan Hart <email@hidden>
    • Re: does windowDidClose or not?
      • From: Sherm Pendley <email@hidden>
    • Re: does windowDidClose or not?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: does windowDidClose or not? (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: Re: does windowDidClose or not?
  • Next by Date: Re: does windowDidClose or not?
  • Previous by thread: Re: does windowDidClose or not?
  • Next by thread: Re: does windowDidClose or not?
  • Index(es):
    • Date
    • Thread