• 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
workspaceWillPowerOff error in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

workspaceWillPowerOff error in Panther


  • Subject: workspaceWillPowerOff error in Panther
  • From: "parag vibhute" <email@hidden>
  • Date: Thu, 17 Jan 2008 21:48:13 +0530

Hi all,

I am implementing cocoa application in which I am hidding its dock icon
using info.plist.
I have implemented code for catching shutdown/restart/logout event using *
workspaceWillPowerOff* delegate & application quit event(quitting from
activity monitor) using *applicationShouldTerminate *delegate.
In Tiger, when I run that application; I am able to catch
shutdown/restart/logout & application quit seperately & as I want. But in
Panther, when I quit that application from activity monitor, both*
**applicationShouldTerminate
& **workspaceWillPowerOff *delegate methods gets called which is unexpected
because ideally only *applicationShouldTerminate *should only get &
not *workspaceWillPowerOff.

*I also tried signal handling but they did not work in Panther (but very
well in Leopard). So not useful.

Any solution to capture quit event for background cocoa application??

Thanks,
Palav

--

There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Trouble with NSCollectionView
  • Next by Date: Re: Outline view selection doesn't move when items are inserted?
  • Previous by thread: Re: CALayer content looks "blurry"
  • Next by thread: Re: workspaceWillPowerOff error in Panther
  • Index(es):
    • Date
    • Thread