• 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: Ryan Homer <email@hidden>
  • Date: Mon, 19 Mar 2007 08:47:23 -0400

Thanks Nick,

This seems to be the Cocoa way to do it. I used the other method suggested by Finlay and it works great, but ended up having to use Notifications to implement it anyway, so the NSWorkspace way seems to be spot on.


On 18-Mar-07, at 12:20 AM, Nick Zitzmann wrote:

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


References: 
 >Standby: Handling going into and coming out from standby (From: Ryan Homer <email@hidden>)
 >Re: Standby: Handling going into and coming out from standby (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Parsing "Set-Cookie" HTTP Response
  • Next by Date: Re: NSString escaping single quotes
  • Previous by thread: Re: Standby: Handling going into and coming out from standby
  • Next by thread: NSDatePicker behaviour is odd when typing date
  • Index(es):
    • Date
    • Thread