title: UITableView in Swift
body: <p>I'm struggling to figure out what's wrong with this code snippet. This is currently working in Objective-C, but in Swift this just crashes on the first line of the method. It shows an error message in console log: <code>Bad_Instruction</code>.</p>
  
  <pre><code>func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -&gt; UITableViewCell!  {
          var cell : UITableViewCell = tableView.dequeueReusableCellWithIdentifier("Cell") as UITableViewCell
  
          if (cell == nil) {
              cell = UITableViewCell(style: UITableViewCellStyle.Value1, reuseIdentifier: "Cell")
          }
  
          cell.textLabel.text = "TEXT"
          cell.detailTextLabel.text = "DETAIL TEXT"
  
          return cell
      }
  </code></pre>