JSONDecoder is now a part of Foundation on iOS 11 and there is no way to use JSONDecoder anymore because there are now two of them. I have a code that extends both JSONDecoder and JSONEncoder and both throw an error on Xcode 9 beta:
'JSONDecoder' is ambiguous for type lookup in this context
It seems like JSONCodable will have to prefix its classes.
JSONDecoderis now a part of Foundation on iOS 11 and there is no way to useJSONDecoderanymore because there are now two of them. I have a code that extends bothJSONDecoderandJSONEncoderand both throw an error on Xcode 9 beta:It seems like
JSONCodablewill have to prefix its classes.