Found nil table view cell
<p>I have a 2d array: </p>

<pre><code>var s = [["Maths"],["English"]]
</code></pre>

<p><code>cellPressed</code> is a variable to find the cell pressed in the previous view which is all working</p>

<p>Every time I do:</p>

<pre><code>func tableView(tableView: UITableView,
               cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
    let Cell: subjectTableViewCell =
        tableView.dequeueReusableCellWithIdentifier("subjectCell") as! subjectTableViewCell
    Cell.subjectName.text = s[cellPressed][indexPath.row]
    return Cell
}
</code></pre>

<p>I get:</p>

<p><code>fatal error: unexpectedly found nil while unwrapping an Optional value</code></p>