Re: How a window was closed?
Re: How a window was closed?
- Subject: Re: How a window was closed?
- From: Eric Gorr <email@hidden>
- Date: Sat, 6 Mar 2010 07:59:52 -0500
On Mar 5, 2010, at 8:21 PM, Klaus Backert wrote:
>
> On 5 Mar 2010, at 20:01, Eric Gorr wrote:
>
>> Why is -windowShouldClose: not reliable?
>
> May be, because the situation is as the method's documentation says:
>
> "This method may not always be called during window closing. Specifically, this method is not called when a user quits an application."
Correct, but as someone confirmed, it is always called when the user closes a window (the case I care about). The documentation is still accurate in this case.
My own testing seems to confirm this as well. If you have a case where it isn't true, I would be interested._______________________________________________
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