title: Incremental number animation
body: <p>I have a homepage that showing the value of incomes and expenses. Right now the values just appear on the the screen, however is was wondering whether i can make those number start from 0 and then have an animation to increment that value, like a stopwatch. Is it also possible to make the final number after the increment has finished to animate with a pulse". This is how i am making the label pulsate now but the label becomes bigger from the left had side and not from the center.</p>
  
  <pre><code>[self.view addSubview:_lblTotal];
  
      CABasicAnimation *scaleAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
      scaleAnimation.duration = 0.4;
      scaleAnimation.repeatCount = HUGE_VAL;
      scaleAnimation.autoreverses = YES;
      scaleAnimation.fromValue = [NSNumber numberWithFloat:0.8];
      scaleAnimation.toValue = [NSNumber numberWithFloat:1.0];
  
      [_lblTotal.layer addAnimation:scaleAnimation forKey:@"scale"];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/EUq6U.png" alt="homepage"></p>