title: assigning a color for a cell not working
body: <p>i am trying to set the background color for the first cell in my table view to blue for exemple but it wont work . each time i start scrolling the  blue color jumps to a different cell . i am tried these codes .</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
  if([[self.menu objectAtIndex:indexPath.row] isEqual:@"a string"]){
  
  
      cell.contentView.backgroundColor=[UIColor blueColor] ;
  
  
  
  }
  
  }
  </code></pre>
  
  <p>and </p>
  
  <pre><code> - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell       forRowAtIndexPath:(NSIndexPath *)indexPath
   {
  
  if(indexPath.row==0){
  
  
      cell.contentView.backgroundColor=[UIColor blueColor] ;
  
  
  
  }
  
  }
  </code></pre>
  
  <p>and i tried it also in cellfro row at index path.  am i missing something ?</p>
  
  <p>this is the code i am using for cellforrowatindexpath:</p>
  
  <pre><code>   if(indexPath.row==0){
  
  
      cell.contentView.backgroundColor=[UIColor blueColor] ;
  
  
  
  }
  </code></pre>