title: Swift - NSURL error
body: <p>Getting an error when trying to use the <code>NSURL</code> class below, the code below is essentially trying to store an image I am pulling in from Facebook into an <code>imageView</code>. The error is as follows:</p>
  
  <pre><code>value of optional type 'NSURL?' not unwrapped, did you mean to use '!' or '?' 
  </code></pre>
  
  <p>Not sure why this is is happening, help!</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
      @IBOutlet weak var myImage: UIImageView!
  
      override func viewDidLoad() {
  
          super.viewDidLoad()
  
          let myProfilePictureURL = NSURL(string: "http://graph.facebook.com/bobdylan/picture")
          let imageData = NSData(contentsOfURL: myProfilePictureURL)
          self.myImage.image = UIImage(data: imageData)
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  }
  </code></pre>