Before Swift 3, my code for creating AWSTask with the result was something like this:
let results = ["resultOne", "resultTwo"]
let task = AWSTask(result: results)
But using Swift 3, I get this error message from Xcode 8:
Cannot convert value of type '[String]' to expected type of argument '_?'
Has anyone else come across this? Thank!
source
share