title: "NSURL" is not implicitly convertible to "URL"; did you mean to use "as" to explicitly convert?
body: <p>I have latest xcode beta, just trying to load a webpage inside an app. </p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
      @IBOutlet var webView: UIWebView!
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view, typically from a nib.
          let url = NSURL (string: "https://www.google.com");
          let requestObj = NSURLRequest(URL: url!);
          webView.loadRequest(requestObj);
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  }
  </code></pre>
  
  <p>On this line: <code>let requestObj = NSURLRequest(URL: url!);</code>
  I get following error:</p>
  
  <blockquote>
    <p>"NSURL" is not implicitly convertible to "URL"; did you mean to use "as" to explicitly convert?</p>
  </blockquote>
  
  <p>I removed the exclamation mark and I get this error:</p>
  
  <blockquote>
    <p>Cannot convert value of type "NSURL?" to expected argument type "URL"</p>
  </blockquote>
  
  <p>I've been trying variations on this code from all over the internet for the past four hours. I'm thinking latest swift just doesn't allow this anymore or something, because nothing works. I'm set to a 10.0 Deployment Target and a Xcode 8.0 compatible. But I've also tried earlier versions for both of those settings and I get the same error across all versions of both. </p>
  
  <p>Yes, my webView on the storyboard is properly connected to the ViewController.swift. </p>