Could anybody give me an advice how to show a smooth number increment in UILabel
? The code I have used performs such increment too fast for human eye :)
for (int i = 1; i<=self.score; i++) {
self.levelCompleteScoreLabel.text = [NSString stringWithFormat:@"%d", i];
}
I can't use sleep()
function because I have concurrent animations going on the screen.