title: How to make a segue from SpriteKit GameScene to UIViewController programmatically in iOS 9 with Swift2
body: <p>I need to make a segue from a GameScene to a UIViewController but i keep getting <em>Use of unresolved identifier "push"</em> although I did give it that identifier</p>
  
  <p>In the GameSceneViewController I added</p>
  
  <pre><code>scene.viewController = self
  </code></pre>
  
  <p>and in my GameScene I added </p>
  
  <pre><code>var viewController: UIViewController?
  </code></pre>
  
  <p>and </p>
  
  <pre><code>func segue(){
  
      self.viewController.performSegueWithIdentifier(push, sender: viewController)
  
  }
  </code></pre>