• 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
Selector callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selector callback


  • Subject: Selector callback
  • From: email@hidden
  • Date: Thu, 3 Oct 2002 19:02:00 EDT

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
_______________________________________________
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: Selector callback
      • From: Thomas Castiglione <email@hidden>
    • Re: Selector callback
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: NSNetService addresses returns empty array
  • Next by Date: Re: NSUIElement
  • Previous by thread: NSImageCell sub classing
  • Next by thread: Re: Selector callback
  • Index(es):
    • Date
    • Thread