Re: Monitoring system time
Re: Monitoring system time
- Subject: Re: Monitoring system time
- From: "Sean McBride" <email@hidden>
- Date: Mon, 30 May 2005 09:56:15 -0400
- Organization: Rogue Research
On 2005-05-29 14:27, Jerry Brace said:
>Could anyone give me information on the best way to monitor the
>system date/time and trigger an event?
>Basically I have some alarm records that have date and time stored -
>when the system date/time matches one of the records I need to fire
>an event.
NSTimer is nice and all, but if 1) the computer sleeps 2) the user
changes the date in sys prefs 3) the computer adjusts the time for
daylight savings time then your NSTimers will need to be adjusted. So
you must watch for wake and date change notifications.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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