title: Binary operator != cannot be applied to operands of type NSUrlConnection!.Type and NilLiteralConvertible
body: <p>I'm new to Swift and I finally managed to finish my first app but when the update got released my code got totally screwed up.. The most errors in my code is caused by <code>sendSynchronousRequest</code> giving <code>Extra argument 'error' in call</code> error. I tried to change it and finally came up with this.</p>
  
  <pre><code>    var url = NSURL(string: "http://****")
      var request = NSMutableURLRequest(URL: url!, cachePolicy: NSURLRequestCachePolicy.ReturnCacheDataElseLoad, timeoutInterval: Double.infinity);
      if IJReachability.isConnectedToNetwork(){
          request = NSMutableURLRequest(URL: url!, cachePolicy: NSURLRequestCachePolicy.UseProtocolCachePolicy, timeoutInterval: Double.infinity);
      }
      var response: NSURLResponse?
      let data = NSURLConnection!.self
      do {
          let data = try NSURLConnection.sendSynchronousRequest(request, returningResponse: &amp;response)
      } catch (let e) {
          print(e)
      }
      if data != nil {
          var dataArray = JSON(data: data)
          let dutch_sentence = dataArray[id]["dutch_sentence"]
          let polish_sentence = dataArray[id]["polish_sentence"]
          let navigationTitle = dutch_sentence.string!.uppercaseString
          self.title = navigationTitle
  
          //Populate labels
          dutchSentenceLabel.text = dutch_sentence.string!
          polishSentenceLabel.text = polish_sentence.string!
  
      }
  </code></pre>
  
  <p>But now it's saying:</p>
  
  <pre><code>Binary operator != cannot be applied to operands of type NSUrlConnection!.Type and NilLiteralConvertible
  </code></pre>
  
  <p>For the line <code>if data != nil {</code></p>