• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Warning obsolete shouldCloseWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Warning obsolete shouldCloseWindowController
      • From: Erez Anzel <email@hidden>
References: 
 >Warning obsolete shouldCloseWindowController (From: Erez Anzel <email@hidden>)

  • Prev by Date: Warning obsolete shouldCloseWindowController
  • Next by Date: Screensaver/view positioning
  • Previous by thread: Warning obsolete shouldCloseWindowController
  • Next by thread: Re: Warning obsolete shouldCloseWindowController
  • Index(es):
    • Date
    • Thread