canCloseDocumentWithDelegate
canCloseDocumentWithDelegate
- Subject: canCloseDocumentWithDelegate
- From: "Peter Hudson" <email@hidden>
- Date: Thu, 26 Feb 2004 14:35:22 +0000
I notice that the method canCloseDocument is deprecated.
I therefore want to use canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo.
I have overridden this method in my document class and perform some clean up in it. I want to then proceed to close the document. To do this the documentation tells me to "call the callback with YES"
I assume the callback is the shouldCloseSelector. How do I call it with YES. I can't find an example of calling a selector.
Peter
_______________________________________________
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.