Re: Warning obsolete shouldCloseWindowController
Re: Warning obsolete shouldCloseWindowController
- Subject: Re: Warning obsolete shouldCloseWindowController
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 28 Jan 2004 19:10:41 -0800
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.