Codable
suggest changeIntroduction
Codable was added in Xcode 9, iOS 11, and Swift 4. Codable makes your data types encodable and decodable for external representations such as JSON.
To support both encoding and decoding, declare conformance to Codable, which combines the Encodable and Decodable protocols. This process is known as making your types codable.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents