title: Removing UITableViewCell Selection
body: <p>Currently I'm overriding the standard UITableViewSelectionStyle by using <code>UITableViewSelectionStyleNone</code> and then changing the color the cell based on delegate methods:</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView 
        didHighlightRowAtIndexPath:(NSIndexPath *)indexPath {
      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];                
      [cell setBackgroundColor:[UIColor yellowColor]];
  }
  
  - (void)tableView:(UITableView *)tableView 
      didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
      [cell setBackgroundColor:[UIColor whiteColor]];
  }
  
  - (void)tableView:(UITableView *)tableView 
      didUnhighlightRowAtIndexPath:(NSIndexPath *)indexPath {
      NSLog(@"indexpath: %i",indexPath.row);
      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
      [cell setBackgroundColor:[UIColor whiteColor]];
  }
  
  - (void)tableView:(UITableView *)tableView 
      didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
      [cell setBackgroundColor:[UIColor whiteColor]];
  }
  </code></pre>
  
  <p>This almost works except that whenever I highlight a cell and then drag my finger off of it without actually selecting it, the color doesn't change to white...if I set it to [UIColor RedColor] it works perfeclty. Why is this...</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Somehow when I print out the indexPath.row after didUnhlightRowAtIndexPath I get  "indexpath: 2147483647" from my NSLog</p>