Getting a new warning in xcode 8 beta 3. What is wrong with this syntax, or is there a bug in xcode?
SwiftyJSON.swift:772:35: Expected ',' joining parts of a multi-clause condition
if let errorValue = error where errorValue.code == ErrorNotExist {
}
It seems this feature has been included: 0099-conditionclauses.md
Try this:
if let errorValue = error, errorValue.code == ErrorNotExist {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With