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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com