• 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
How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application


  • Subject: How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
  • From: "jacky.zhu" <email@hidden>
  • Date: Sun, 20 Feb 2005 17:06:27 +0800
  • Importance: Normal

Title: Message
hi all,
 
In my application, how can I determine the cause of applicationShouldTerminate of NSApplication being invoked?
 
I would like to keep the application from being closed , so I let it always return NO. However, this gives rise of another problem, the system can't reboot or logout because this application reject to quit.
 
How can I do that ?
 
Would any nice guy help me? Any idea is helpful.
 
Thanks & Best Regards,
 
 
Jacky Zhu 
Add FUN to your email - CLICK HERE!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
      • From: Nathan Day <email@hidden>
  • Prev by Date: Selection and proxy objects...
  • Next by Date: Memory management with archives
  • Previous by thread: Re: Selection and proxy objects...
  • Next by thread: Re: How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
  • Index(es):
    • Date
    • Thread