Search Results for timer
Sometimes you need things to happen at specific times and things. When it's just an event 2.0 seconds later, a performSelector:withObject:afterDelay: is perfect. If it gets a little more complex where you need something happening ever 3.0 seconds, a quick implementation of NSTimer is good. But what if you want something to happen every 2 seconds and then at the 7th second something else to happen. Or if you want to pause everything for a while and then resume later? That's where Easy Timeline comes into play.
A custom UILabel that acts as a time counter, counting up or down and formatting the string to hours, minutes, seconds and milliseconds. Designed to accept a value in milliseconds that is then displayed it in a time friendly format. Currently the controls supports up-to a maximum value of 99 hours 59 minutes 59 seconds and 999 milliseconds, which should be enough for most uses. The control automatically removes any leading zeros and centralises the result. It also supports different fonts for each unit division.