title: How to transition scenes in Swift
body: <p>In Objective-C, using Sprite-Kit, I would <strong>successfully</strong> use something like the following code in Objective-C to bring up a new scene</p>
  
  <pre><code>if ([touchedNode.name  isEqual: @"Game Button"]) {
          SKTransition *reveal = [SKTransition revealWithDirection:SKTransitionDirectionDown duration:1.0];
          GameScene *newGameScene = [[GameScene alloc] initWithSize: self.size];
          //  Optionally, insert code to configure the new scene.
          newGameScene.scaleMode = SKSceneScaleModeAspectFill;
          [self.scene.view presentScene: newGameScene transition: reveal];
      }
  </code></pre>
  
  <p>In trying to port my simple game to Swift, so far I have this working...</p>
  
  <pre><code>for touch: AnyObject in touches {
          let touchedNode = nodeAtPoint(touch.locationInNode(self))
          println("Node touched: " + touchedNode.name);
          let touchedNodeName:String = touchedNode.name
  
          switch touchedNodeName {
          case "Game Button":
              println("Put code here to launch the game scene")
  
          default:
              println("No routine established for this")
          }
  </code></pre>
  
  <p>But I do not know what code to write to actually transition to another scene.
  Question(s):</p>
  
  <ol>
  <li>Can someone please provide an example of using SKTransition with Swift?</li>
  <li>Would you normally create another "file" to put the other scene code in for the other scene, assuming you would have under Objective-C, or is there something about using Swift that means I should approach it differently?</li>
  </ol>
  
  <p>Thank you</p>