title: AVAudioPlayer no longer working in Swift 2.0 / Xcode 7 beta
body: <p>For the <code>var testAudio</code> declaration in my iPhone app, I am receiving an error here </p>
  
  <p>"Call can throw, but errors cannot be thrown out of a property initializer" </p>
  
  <pre><code>import UIKit
  import AVFoundation
  class ViewController: UIViewController {
      var testAudio = AVAudioPlayer(contentsOfURL: NSURL (fileURLWithPath: NSBundle.mainBundle().pathForResource("testAudio", ofType: "wav")!), fileTypeHint:nil)
  </code></pre>
  
  <p>This happened when I moved to the Xcode 7 beta.</p>
  
  <p>How can I get this audio clip functioning in Swift 2.0?</p>