I don't want to pass any value to baseURL parameter in loadData
method of UIWebView
.
In Swift 1.2, nil
works fine:
self.loadFundInfo.loadData(responseData, MIMEType: contentType, textEncodingName: "", baseURL: nil)
In Swift 2.0, how to do the same thing?
I am getting this error:
Nil is not compatible with expected argument type NSURL