• 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
Re: Standby: Handling going into and coming out from standby
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standby: Handling going into and coming out from standby


  • Subject: Re: Standby: Handling going into and coming out from standby
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 17 Mar 2007 22:20:15 -0600


On Mar 17, 2007, at 7:43 PM, Ryan Homer wrote:

Can someone point me to the right documentation? I've not been able to find anything at all on this. I want my application to be able to detect when the computer is about to go into standby and also to detect when the computer has just come out of standby.

I believe applications like iChat are standby aware in that it closes the network connection before the computer goes into standby and also re-establishes the connection when the computer comes out of standby.

NSWorkspace has sleep/wake notifications, assuming you can target Panther and later. If you listen to the sleep notification, anything your program does ought to do it fast.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Standby: Handling going into and coming out from standby
      • From: Ryan Homer <email@hidden>
References: 
 >Standby: Handling going into and coming out from standby (From: Ryan Homer <email@hidden>)

  • Prev by Date: Re: Preventing default drawing of slider bar in custom NSSlider class
  • Next by Date: Re: Renaming the "Cancel" button for NSOpenPanel
  • Previous by thread: Re: Standby: Handling going into and coming out from standby
  • Next by thread: Re: Standby: Handling going into and coming out from standby
  • Index(es):
    • Date
    • Thread