Re: [swift-users] Where CodingKey protocol is implemented on swift source code

2017-10-04 Thread Solli Honorio via swift-users
Thanks for the clarification. Em qua, 4 de out de 2017 às 19:21, Itai Ferber escreveu: > Hi Solli, > > CodingKey conformance for enums is synthesized by the compiler given > certain rules — you can see mention of this in the Codable proposal >

Re: [swift-users] Where CodingKey protocol is implemented on swift source code

2017-10-04 Thread Itai Ferber via swift-users
Hi Solli, `CodingKey` conformance for `enum`s is synthesized by the compiler given certain rules — you can see mention of this in the [Codable proposal](https://github.com/apple/swift-evolution/blob/master/proposals/0166-swift-archival-serialization.md) [search for `public protocol CodingKey`]