• 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
NSTimers and sleeping mac's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTimers and sleeping mac's


  • Subject: NSTimers and sleeping mac's
  • From: Aaron Wallis <email@hidden>
  • Date: Fri, 27 Jul 2007 07:46:41 +1000

Hi everyone

I have an application that uses NSTimers to schedule frequent actions on behalf of the user. its not something that you would put into a cron, cause the timers are reset when the users take actions etc etc etc.

However, I've been having some issues lately with writing a new version of the application. when I put my mac to sleep, and then wake it up, the NStimers aren't firing.
Does anyone know how to get the application to detect that the computer has awoken, and run a method or something like that?


Cheers!

________________________/Az.________

Aaron Wallis
http://isnot.tv



_______________________________________________

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


  • Follow-Ups:
    • Re: NSTimers and sleeping mac's
      • From: "Sean McBride" <email@hidden>
    • Re: NSTimers and sleeping mac's
      • From: Sherm Pendley <email@hidden>
    • Re: NSTimers and sleeping mac's
      • From: arri <email@hidden>
  • Prev by Date: CoreData implementation of persons with any number of assets
  • Next by Date: Re: CoreData implementation of persons with any number of assets
  • Previous by thread: Re: CoreData implementation of persons with any number of assets
  • Next by thread: Re: NSTimers and sleeping mac's
  • Index(es):
    • Date
    • Thread