title: Assertion failure in UITableView configureCellForDisplay:forIndexPath:
body: <p>I'm not sure where the error is here, having looked at other similar issues. 
  I received an Assertion failure.</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
  </code></pre>
  
  <p>I think it is something simple but hope someone can help.</p>
  
  <p>Below is my code:</p>
  
  <pre><code>#import "StockMarketViewController.h"
  
  @interface StockMarketViewController ()
  
  @end
  
  
  @implementation StockMarketViewController
  @synthesize ShareNameText, ShareValueText, AmountText;
  @synthesize shares, shareValues;
  
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
  {
      return [shares count];
  
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
  {
      UITableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
  
  
  
      NSString *currentValue = [shareValues objectAtIndex:[indexPath row]];
      [[cell textLabel]setText:currentValue];
      return cell;
  
  }
  </code></pre>