Re: Any way to tell why a window is closing?
Re: Any way to tell why a window is closing?
- Subject: Re: Any way to tell why a window is closing?
- From: Jens Alfke <email@hidden>
- Date: Mon, 21 Sep 2009 09:22:39 -0700
On Sep 21, 2009, at 8:15 AM, Scott Ribe wrote:
Within -windowWillClose, I need to know whether or not the user
clicked the
close button on the window.
Well, if the user clicked the close button your -windowShouldClose
delegate method will be called first. You could set a flag in there,
perhaps.
—Jens_______________________________________________
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