I am currently having problems declaring a String. I wa previously able to use this in XCode 6 but now I can't.
The command is:
let HTMLString = NSString(contentsOfURL: myURL, encoding: NSUTF8StringEncoding, error: &error)
But I am getting the error:
Cannot invoke initializer for type 'NSString' with an argument list of type '(contentsOfURL: NSURL, encoding: UInt, error: inout NSError?)'
Any ideas?
Thanks