title: Overriding method with selector has incompatible type - Swift
body: <p>Overriding <code>UITableViewDelegate</code>'s <code>tableView:cellForRowAtIndexPath:</code> is causing the following compile error:</p>
  
  <blockquote>
    <p>Overriding method with selector 'tableView:cellForRowAtIndexPath:' has incompatible type '(UITableView!, NSIndexPath!) -> UITableViewCell!'</p>
  </blockquote>
  
  <p>The current implementation of the override function is:</p>
  
  <pre><code>override func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -&gt; UITableViewCell!
  {
      let cell = tableView.dequeueReusableCellWithIdentifier("cellIdent", forIndexPath: indexPath) as UITableViewCell
  
      // Configure the cell...
  
      return cell
  }
  </code></pre>
  
  <p>What is causing the error and how can it be fixed?</p>