• 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: Responding To Screen Saver/Sleep Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Responding To Screen Saver/Sleep Events


  • Subject: Re: Responding To Screen Saver/Sleep Events
  • From: Chris Schmitt <email@hidden>
  • Date: Tue, 26 Feb 2008 11:31:07 -0500

Nir,
I tried to follow the example by putting the code from the page into my main.m file of a brand new application. The application complied and ran, but I was never notified of the events. Do you happen to have any sample code or something that might show me how this is implemented within an application.


Thanks for your help!!

On Jan 28, 2008, at 5:14 PM, Nir Soffer wrote:


On Jan 23, 2008, at 17:13, Chris Schmitt wrote:

I would like my application to do something if the screen savor has started or the computer is going to sleep. Does anyone know where I can find an example, information on how to do this, or maybe just the API I need to look at?

Check this: http://developer.apple.com/qa/qa2004/qa1340.html


Best Regards,

Nir Soffer


_______________________________________________

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: Creating a NSTextField
  • Next by Date: Re: Resizable Text Cell in NSTableView
  • Previous by thread: Re: Creating a NSTextField
  • Next by thread: NSString floatValue issue
  • Index(es):
    • Date
    • Thread