Hi all

Is there something obvious I am missing, or is there no Cocoa API for observing 
the current time?

I've found dispatch_timer to be reasonably accurate in doing this, but 
naturally lagging a little. The interval is pretty reliable, but I wonder if 
there is a hook to the time as updated on the system clock on the menu bar and 
I'm just not finding it in the docs?

Basically I just want to display the current time in various time zone 
representations at the same time. 

I'm getting about a half second lag behind the system clock. 
This is actually reasonable for my purposes, but I wonder if I'm missing 
something that might be more in sync. 


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to