Re: NSWindowController that closes itself
Re: NSWindowController that closes itself
- Subject: Re: NSWindowController that closes itself
- From: Dan Bernstein <email@hidden>
- Date: Wed, 14 Nov 2001 10:44:48 +0200
On Wednesday, November 14, 2001, at 10:02 AM, Erik M. Buck wrote:
I also note from the documentation that the entire solution presented in
unnecessary because -performClose: evidently calls -windowShouldClose:
as
the original poster wanted.
Hey, that's me! :-)
So you're suggesting that I move the code I currently have in
windowWillClose (including the [self autorelease]) to windowShouldClose?
Can I rely on the window actually being closed if I return YES from
windowShouldClose?
TIA,
--
Dan Bernstein