title: Failed to obtain a cell from its DataSource
body: <p>What is wrong with the below code</p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
  
      NSString *CellIdentifier  = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; 
  
      cell.textLabel.text = @"hello";
  
      return cell;
  }
  </code></pre>
  
  <p>And   </p>
  
  <pre><code>-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
      return 2;
  }
  </code></pre>
  
  <p>but I'm getting <strong>failed to obtain a cell from its dataSource</strong></p>
  
  <p>The entire exception is </p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView (&lt;UITableView: 0x7ffe0b092800; frame = (0 97; 414 590); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = &lt;NSArray: 0x7ffe0acf3b10&gt;; layer = &lt;CALayer: 0x7ffe0aceb6e0&gt;; contentOffset: {0, 0}; contentSize: {414, 88}&gt;) failed to obtain a cell from its dataSource (&lt;AllContactsViewController: 0x7ffe0ace60f0&gt;)'
  </code></pre>
  
  <p>I have set delegate and data source for the table view</p>