title: Animate UISlider smoothly
body: <p>i want to animate an UISlider for e.g. 0.25 to 0.75 and back. This should show the user what is to do.</p>
  
  <p>i tried this:</p>
  
  <pre><code>[self incrementCounter:[NSNumber numberWithInt:0]];
  
  
  -(void) incrementCounter:(NSNumber *)i {
      [Slider setValue:[i floatValue]/1000];
      [self performSelector:@selector(incrementCounter:) withObject:[NSNumber numberWithInt:i.intValue+1] afterDelay:0.001];
  }
  </code></pre>
  
  <p>but thats not so smooth... can i use transitions for this?</p>
  
  <pre><code>[Slider setValue:1 animated:YES];
  </code></pre>
  
  <p>is to fast...</p>
  
  <pre><code>[UIView animateWithDuration:2.0
                   animations:^{
                       [Slider setValue:0.2];
                   }];
  [UIView animateWithDuration:2.0
                   animations:^{
                       [Slider setValue:0.5];
                   }];
  </code></pre>
  
  <p>Just animates the second one...</p>