• 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: Alan Hart <email@hidden>
  • Date: Mon, 17 Apr 2006 02:31:08 +0100


On 17 Apr 2006, at 01:15, Ben Dougall wrote:

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.

Once the window has closed you've lost access to its contents, no? I always assumed that -windowWillClose was sent as a result of a Close event on the window, and would therefore preclude any further user actions in the window. So isn't that exactly the notification you need to in order to process its final state before it drops into the bit bucket?


Alan
_______________________________________________
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


References: 
 >Re: does windowDidClose or not? (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: Printing resolution problems
  • Next by Date: NSToolbarItem + NSPopUpButton ?
  • Previous by thread: Re: does windowDidClose or not?
  • Next by thread: Re: does windowDidClose or not?
  • Index(es):
    • Date
    • Thread