Could not cast value of type 'UIView' to 'SCNView'
<p>App was building fine until I started adding buttons to the storyboard then I got the above error. It stops at this line of code inside my GameViewController.</p>

<pre><code>let scnView = self.view as! SCNView
</code></pre>

<p>The storyboard itself has its custom class set to GameViewController (theres no option for SCNView). GameViewController itself inherits from UIViewController.
Im using Xcode7.2.</p>