Swift: Table view superclass error
<p>I have created a slide out menu using Swift. I have done this many times before, but when I created it today, I get this error (see screenshot). It could just be a simple mistake I have made. </p>

<p>Here is the code, that I think is causing the problem:</p>

<pre><code>    override func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -&gt; UITableViewCell! {

    var cell:UITableViewCell? = tableView.dequeueReusableCellWithIdentifier("Cell")! as UITableViewCell

    if cell == nil{
        cell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "Cell")

        cell!.backgroundColor = UIColor.clearColor()
        cell!.textLabel!.textColor = UIColor.darkTextColor()

        let selectedView:UIView = UIView(frame: CGRect(x: 0, y: 0, width: cell!.frame.size.width, height: cell!.frame.size.height))
        selectedView.backgroundColor = UIColor.blackColor().colorWithAlphaComponent(0.3)

        cell!.selectedBackgroundView = selectedView
    }

    cell!.textLabel!.text = tableData[indexPath.row]

    return cell
}
</code></pre>

<p>Screenshot:</p>

<p><a href="https://i.stack.imgur.com/6rj9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6rj9s.png" alt="enter image description here"></a></p>

<p>UPDATE: I have tried removing <code>override</code></p>

<p><a href="https://i.stack.imgur.com/7RirO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7RirO.png" alt="enter image description here"></a></p>

<p>Hope someone can help!</p>