title: How can i use prototype cell in storyboard with search result controller
body: <p>I have <code>tableview</code> with search result controller when search in search bar get this error indicate that there is no cell and get the below error .How can create my <code>prototype</code> cell in this method <code>CellForRowAtIndexPath</code></p>
  
  <p>Code :</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath     *)indexPath
  {
   static NSString *CellIdentifier = @"HoCell";
  Ho *cell;
  Ho *item;
  
  if (tableView == self.searchDisplayController.searchResultsTableView) {
      if (cell == nil)
      {
          cell = [[Ho alloc]  initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"HoCell"];
      }
      item = [searchResultsController objectAtIndexPath:indexPath];
  }
  else{
      cell = (Ho*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      item = [fetchedResultsController objectAtIndexPath:indexPath];
  }
  cell.ho.text = item.name;
  
  cell.selectedBackgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"se.png"]];
  
  return cell;
  }
  </code></pre>
  
  <p>Error : </p>
  
  <pre><code>*** Assertion failure in -[UISearchResultsTableView _configureCellForDisplay:forIndexPath:],  /SourceCache/UIKit_Sim/UIKit-2372/UITableView.m:5471
   Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'
  </code></pre>