I've bumped into a problem while using xcode9.
Error I was getting was:
'JSONDecoder' is ambiguous for type lookup in this context
The only way to fix this is to put class in proper namespace by add prefix JSONCodable like JSONCodable.JSONDecoder, but there is a problem that compiler want to use protocol called the same, not lib name
the only idea I've figure out is to remove this protocol
I've bumped into a problem while using xcode9. Error I was getting was:
The only way to fix this is to put class in proper namespace by add prefix
JSONCodable
likeJSONCodable.JSONDecoder
, but there is a problem that compiler want to use protocol called the same, not lib namethe only idea I've figure out is to remove this protocol