title: Moving a UIView
body: <p>I am trying to move a UIView programmatically using the following method:</p>
  
  <pre><code>-(void)animatePlaybackLine: (int) currentBeat{
      CGRect newFrame = CGRectMake(currentBeat*eighthNoteWidth, 0, eighthNoteWidth, 320);
      [playbackLine setFrame:newFrame];
      NSLog(@"Line animated to %i", currentBeat);
      NSLog(@"New frame origin %f", playbackLine.frame.origin.x);
  }
  </code></pre>
  
  <p>When the method is called, the NSLogs show that the variable currentBeat is incrementing as it should, and the frame of playbackLine (my UIView) appears to be moving as it should.  However, the object on the screen doesn't move.  I have also tried setting the bounds and the center instead of the frame, and all of them have similar results.  I also tried using an animation instead of setting the frame, to no avail.  </p>
  
  <p>Is there something else I should be doing to make the image onscreen show the changing frame? </p>