title: Web view: Returning nil at loadRequest while true in URLRequest
body: <p>Web view: Returning nil at loadRequest while true in URLRequest</p>
  
  <p>I don't know where is wrong.</p>
  
  <p>import UIKit</p>
  
  <pre><code>class DetailViewController: UIViewController, UIWebViewDelegate {
      @IBOutlet weak var designatedWebView: UIWebView!
  
      var webview: UIWebView!
      var testString: String!
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          designatedWebView = webview
          testString = "http://www.apple.com"
  
          let baseURL = URL(string: testString)
          let baseURLRequest = URLRequest(url: baseURL!) //this prints true
          designatedWebView.loadRequest(baseURLRequest)  //while this prints nil
  
      }
  }
  </code></pre>