title: Compile Time Error
body: <pre><code>let cell = UITableViewCell()
      let dic = dict as Dictionary
      let z = "Period \(String(Int(indexPath.row + 1)))" // something wrong with this
      let x: Array = dic[z] as! Array
      if (x[0] is String) {
          cell.textLabel?.text = x[0] as? String
      } else {
          print("Error: it isnt a string")
      }
  
      tableView.reloadData()
      return cell
  </code></pre>
  
  <p>What is wrong with this I feel like it is something simple but I just can't see it if you can see can you please help me! Thank you. </p>
  
  <p>When I run this I get a segmentation fault and I have narrowed it down to this code. Again pls help. ;-;</p>