title: How to set a background image in Xcode using swift?
body: <p>How can I set a background image for my main view controller in Xcode 6 using swift? I know that you can do this in the assistant editor as below:    </p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      view.backgroundColor = UIColor.yellowColor()
  }
  </code></pre>
  
  <p>What is the code to set the background to an image I have in my assets folder?</p>