Re: Warning obsolete shouldCloseWindowController
Re: Warning obsolete shouldCloseWindowController
- Subject: Re: Warning obsolete shouldCloseWindowController
- From: Erez Anzel <email@hidden>
- Date: Thu, 29 Jan 2004 15:57:36 -0500
Thanks, Nick.
And the answer was just an option-double click away. Sorry for not
thinking.
Seems like it'll take a bit more effort on my part to use
canCloseDocumentWithDelegate rather than the old, simple
canCloseDocument. Oh well.
Bye...Erez
On 28-Jan-04, at 10:10 PM, Nick Zitzmann wrote:
On Jan 28, 2004, at 6:36 PM, Erez Anzel wrote:
- (BOOL)canCloseDocument
{
return YES;
}
I included this method so that application windows will close without
saving.
Is it me? What should I be doing differently?
From the NSDocument documentation:
---
canCloseDocument
- (BOOL)canCloseDocument
This method has been deprecated. Instead use
canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:.
---
Nick Zitzmann
<http://seiryu.home.comcast.net/>
<http://www.freshlysqueezedsoftware.com/>
S/MIME signature available upon request
UNIX: Where /sbin/init is Job #1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.