title: Use of unresolved identifier 'addChild'
body: <p>would anyone be able to help where I can insert my highscoreLabel, I keep generating errors, I've looked at moving the code to viewDidAppear and viewDidLoad.</p>
  
  <p>I'm just starting out with swift so if anyone can help that would be great.</p>
  
  <p>Thank you.</p>
  
  <pre><code>import UIKit
  import SpriteKit
  import AVFoundation
  import GameKit
  
  class StatsViewController: UIViewController {
  
  var highScoreLabelNode = SKLabelNode()
  var highScore = NSInteger()
  var highscoreDefault = NSInteger()
  
      override func viewWillAppear(animated: Bool) {
      super.viewWillAppear(true)
  
              let highscoreDefault = NSUserDefaults.standardUserDefaults()
      let score = highscoreDefault.valueForKey("HighScore")
  
      highScoreLabelNode.fontName = "Helvetica-Bold"
      highScoreLabelNode.position = CGPoint(x: 2.48, y: 1.17 )
      highScoreLabelNode.fontSize = 30
      highScoreLabelNode.alpha = 0.7
      highScoreLabelNode.text = "Highscore \(score)"
  
      addChild(highScoreLabelNode) //USE OF UNRESOLVED IDENTIFIER 'ADDCHILD'
  
  }
  
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
          }
  
  override func shouldAutorotate() -&gt; Bool {
      return true
  }
  
  override func supportedInterfaceOrientations() -&gt; UIInterfaceOrientationMask {
      if UIDevice.currentDevice().userInterfaceIdiom == .Phone {
          return UIInterfaceOrientationMask.AllButUpsideDown
      } else {
          return UIInterfaceOrientationMask.All
      }
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
      // Release any cached data, images, etc that aren't in use.
  }
  
  
  
  override func prefersStatusBarHidden() -&gt; Bool {
      return true
  }
  } 
  </code></pre>