title: TableViewCell Design With Own Nib and Subclass of UITableViewCell
body: <p>I have subclassed <code>UITableViewCell</code> as <code>MyCell</code> and am attempting to get the table to show. I always receive the message:</p>
  
  <p><code>exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:</code></p>
  
  <p>The code for <code>tableView:cellForRowAtIndexPath</code> is as follows:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  static NSString *CellIdentifier = @"Cell";
  MyCell* cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  // Configure the cell...
  MyCell* theCell = (MyCell *)cell;
  UILabel* lab = theCell.theLabel;
  lab.text = @"This is the label text";
  return cell;
  }
  </code></pre>
  
  <p>I have set the CellIdentifier as "Cell" in the  nib. I thought I was returning a cell with the last line?
  Where am I going wrong? </p>