• 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: NSTimer not firing if date changed in Sys Prefs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer not firing if date changed in Sys Prefs


  • Subject: Re: NSTimer not firing if date changed in Sys Prefs
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 31 Mar 2005 09:10:43 -0500

Ricky Sharp (email@hidden) on 2005-03-31 07:30 said:

>>So say I run the above code at 22:00, then change the clock to 23:59, my
>>timer does not fire a minute later.
>>
>>Am I expecting too much? :)
>
>I wouldn't say so.  While it may be a very rare case that the user
>changes their time, it may happen twice a year automatically depending on
>if the time will auto-adjust for daylight savings.

Well I've filed a bug.  At the very least I think the documentation
should be clearer.  For initWithFireDate: it says "Initializes a new
NSTimer that, when added to a run loop, will fire at 'date'...".  But it
doesn't quite do that. :) It probably computes the interval from now to
'date' then calls timerWithTimeInterval.

Take Care!

--
"How much harm does a company have to do before we question its right to
exist?" -- Paul Hawken

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTimer not firing if date changed in Sys Prefs
      • From: Douglas Norton <email@hidden>
References: 
 >Re: NSTimer not firing if date changed in Sys Prefs (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Nested sheets
  • Next by Date: Re: Nested sheets
  • Previous by thread: Re: NSTimer not firing if date changed in Sys Prefs
  • Next by thread: Re: NSTimer not firing if date changed in Sys Prefs
  • Index(es):
    • Date
    • Thread