Creating a small timer?
Creating a small timer?
- Subject: Creating a small timer?
- From: Michael Abendroth <email@hidden>
- Date: Mon, 9 Nov 2009 18:19:08 +0100
Hi,
I would like to create a small timer. Basically, the timer sits in a
view. When the view is shown, the timer should start, and when the
view is hidden / closed, the timer should stop. While the view is
visible, the user should be able to access controls / manipulate
values inside the view.
How can I create such a timer? I mean, it probably isn't very
efficient to redraw the whole view every second just to get the timer
to update. But is creating a separate thread just for the timer
necessary (I doubt that)?
Thanks for any input,
Mike
_______________________________________________
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