Re: Creating a small timer?

2009-11-09 Thread Jens Alfke
On Nov 9, 2009, at 9:19 AM, Michael Abendroth wrote: 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. Drawing a view once a second shouldn't be a problem. Look at all the stuff iTunes' pseudo-LCD

Re: Creating a small timer?

2009-11-09 Thread Nick Zitzmann
On Nov 9, 2009, at 10:19 AM, Michael Abendroth wrote: 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. Then don't. When it comes time to draw the change, make it so that it only redraws the part t

Creating a small timer?

2009-11-09 Thread Michael Abendroth
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