title: Is it possible to animate a NSTextField
body: <p>I´m trying a pretty simple thing for testing and can´t get it to work, sorry.<br>
  What I want to achieve is that the changes in the textfield label are seen on the screen as well as the color changes.</p>
  
  <p>I already tried several things without success and I´m pretty sure I haven´t got the clue yet.</p>
  
  <p>Any ideas what I´m doing wrong?</p>
  
  <p>I have this right now:</p>
  
  <pre><code>- (IBAction) writeTextToLabel:(id)sender
  {
  
     NSAnimation *animation;
  
     [animation setDuration:10];
  
     int n = 100;
  
     NSString *string1 = @"";
  
     [animation startAnimation];
  
     for (int i = 1 ; n &gt;= i ; i++) {
  
        [label setTextColor:[self ccRandom:1.0 :0.0]];
        string1 = [NSString stringWithFormat:@"Hello World %.3i\n",i];
        [label setStringValue:string1];
  
     }
  
     [animation stopAnimation];
  
  }
  </code></pre>