I would like to build a few simple countdown timers in a UITableview. I noticed the World Clock app has animated clocks in each of it’s rows. What is the best method to firing an NSTimer to update each table row? Can a single timer be run that updates all cells or should I have a custom view subclass with built in timer that is added to each row?
I am just trying to get a proper course of action.
One timer is sufficient. When it fires, ask the table view for the visible cells and update them one by one. You could also just call
reloadDatawhen the timer fires but depending on how you draw your cells you might do more work than necessary and you cannot use animations.