title: didSelectRowAtIndexPath With Custom Cell
body: <p>I have subclassed UITableViewCell to create a custom cell.  On a ViewController I have added a UITableView and a prototype cell.  My custom cell appears and works fine.</p>
  
  <p>But in my didSelectRowAtIndexPath and didDeselectRowAtIndexPath methods a warning appears that I cannot get rid of.</p>
  
  <pre><code>-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
  
  MVGoalTVCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
  NSString *cellText = cell.txtBox.text;
  
  LogInfo(@"DESELECTED: %@", cellText);
  
  }
  
  -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
  
  MVGoalTVCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
  NSString *cellText = cell.txtBox.text;
  
  LogInfo(@"SELECTED: %@", cellText);
  
  }
  </code></pre>
  
  <p>The warning appears on the line:</p>
  
  <pre><code>MVGoalTVCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
  </code></pre>
  
  <p>I am referencing my custom cell in MVGoalTVCell.</p>
  
  <p>The warning that appears is as follows:</p>
  
  <blockquote>
    <p>Incompatible pointer types initializing 'MVGoalTVCell *' with an expression of type 'UITableViewCell *'</p>
  </blockquote>
  
  <p>How can I fix this warning?</p>