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

Re: NSTimers and sleeping mac's


  • Subject: Re: NSTimers and sleeping mac's
  • From: Keith Duncan <email@hidden>
  • Date: Fri, 27 Jul 2007 17:10:40 +0100

Also, despite what its name might lead you to believe, NSTimer's
setFireDate: ("Resets the receiver to fire next at a given date")
doesn't really to that. It would be better described as "takes the
given date/time, subtracts the current date/item, and resets the
receiver to fire that many seconds from now". So if you care about
automatic DST changes, and manual changes to the clock, you'll also want
to register for notification of the clock changing.

I was aware of having to register for sleep/wake notifications but not the change in time ones. Where can you register for these notifications? I couldn't find them in NSWorkspace where I would've expected them.


- Keith
_______________________________________________

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>
References: 
 >NSTimers and sleeping mac's (From: Aaron Wallis <email@hidden>)
 >Re: NSTimers and sleeping mac's (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Is there an API which allow to manipulate Safari Bookmarks?
  • Next by Date: Re: Absolute path to the Application
  • Previous by thread: Re: NSTimers and sleeping mac's
  • Next by thread: Re: NSTimers and sleeping mac's
  • Index(es):
    • Date
    • Thread