title: Swift - Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]
body: <p>I'm getting the error after <code>tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell</code> runs several times.<br>
  Here's thing: I've create a <code>teacherArray</code> that contains the data used for the cell, and it surely contains what I need.<br>
  I used the storyboard to customize the cell and the tableview. And I've checked that the identifier for cell is set, and I also customized the class for the tableview and the cell in the identity inspector.</p>
  
  <pre><code>override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
      return 1
  }
  
  override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return teacherArray.count
  }
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = self.tableView.dequeueReusableCellWithIdentifier("SearchCell", forIndexPath:indexPath) as SearchCell
  
      cell.nameLabel.text = teacherArray[indexPath.row].name
      cell.schoolLabel.text = teacherArray[indexPath.row].school
      cell.experienceLabel.text = teacherArray[indexPath.row].experience
      cell.courseLabel.text = teacherArray[indexPath.row].course
  
      println(indexPath.row)
      println(cell)
  
      return cell
  }
  </code></pre>
  
  <p>I've tracked the method, and it's after this console output:</p>
  
  <pre><code>6
  PAL.SearchCell: 0x7bf32310; baseClass = UITableViewCell; frame = (0 450; 320 75); autoresize = W; layer = &lt;CALayer: 0x7bf322e0&gt;
  </code></pre>
  
  <p>...that I get this error message:</p>
  
  <pre><code> 2015-04-26 22:27:54.880 PAL[65213:6357947]*** Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-3318.93/UITableView.m:7344
     *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'
  </code></pre>
  
  <p>I have no idea what I have done wrong. Any idea?</p>