close: before NSWindowWillCloseNotification
close: before NSWindowWillCloseNotification
- Subject: close: before NSWindowWillCloseNotification
- From: Charles Burnstagger <email@hidden>
- Date: Thu, 18 Feb 2010 19:47:30 -0800 (PST)
Hi all,
I have a typical window/controller on OS X 10.6.2.
When I click the window's close box, my window controller receives the close: message before it recevies the windowWillCloseNotification. This seems to be backwards in sequence to me. Any ideas why this happens and how to avoid it?
I need to recieve the notification *before* I receive close: since I want to do some stuff before the window goes away.
Thanks,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden