Re: Selector callback
Re: Selector callback
- Subject: Re: Selector callback
- From: Thomas Castiglione <email@hidden>
- Date: Fri, 4 Oct 2002 23:13:51 +0800
On Friday, October 4, 2002, at 07:02 AM, email@hidden wrote:
How do I create a selector callback? I need one that I can have Cocoa
ask
the user to save their unsaved docs with
'closeAllDocumentsWithDelegate' in
my delegate's implementation of applicationShouldTerminate.
'closeAllDocumentsWithDelegate' takes a selector but I can't find docs
anywhere on how I instantiate one.
BTW if I'm not going about the implementation of asking the user to
save all
unsaved, let me know. From the docs it looks like this is the way.
-Jim
@selector(theSelectorYouWant) should do it. For example,
@selector(showWindow:)
- Thomas Castiglione
_______________________________________________
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.