UILabel のような「スコアボード」を作成する必要があります。ビューがユーザーに表示されるとき、UILabel は 0 から始まり、保存された値になるまで増分更新を行います。UILabel の更新速度も制御したいと思います。
たとえば、ラベルは 0 で始まり、1、次の 2、3、4 などを表示し、20 になるまで続きます。
これを実現するために、繰り返し NSTimer とカウンターを使用できます。
@interface Whatever: SomeSuperClass {
int counter;
NSTimer *timer;
}
timer = [NSTimer scheduledTimerWithTimeInterval:1.0 /* in seconds */
target:self
selector:@selector(updateLabel)
userInfo:nil
repeats:YES];
- (void)updateLabel
{
theLabel.text = [NSString stringWithFormat:@"%d", counter++];
if (counter > 20) [timer invalidate];
}