title: Why am I getting EXC_BAD_INSTRUCTION error when I am trying to load my tableview in swift?
body: <p>I am trying to populate my tableview after saving some values to my coredata database. I am asking it to display some of the values as indicated in my code, but whatever I do, I get the above error. 
  Any suggestions? I have tried some of the other posts with this problem, but nothing seems to work. </p>
  
  <p>I cannot think where I might be giving out a nil output Swift is not expecting.</p>
  
  <pre><code>override func tableView(tableView: UITableView?, cellForRowAtIndexPath indexPath: NSIndexPath?) -&gt; UITableViewCell? {
  
      let CellId: NSString = "Cell"
  
      var cell: UITableViewCell = tableView?.dequeueReusableCellWithIdentifier(CellId) as UITableViewCell
  
      if let ip = indexPath {
          var data: NSManagedObject = myCustomers[ip.row] as NSManagedObject
          var addno = data.valueForKeyPath("custaddno") as String
          var addname = data.valueForKeyPath("custaddfirstline") as String
          cell.textLabel.text = "\(addno) \(addname)"
          var jcost = data.valueForKeyPath("custjobcost") as Float
          var jfq = data.valueForKeyPath("custjobfq") as Float
          var jfqtype = data.valueForKeyPath("custjobfqtype") as String
          cell.detailTextLabel.text = "Charge: \(jcost) to be done every \(jfq) \(jfqtype)"
      }
      return cell
  }
  </code></pre>