Swift 4.2 Decodable: Heterogeneous collections 📚

Kewin
6 min readApr 10, 2018

Following last year’s release of the Codable protocol, many iOS-developers have been busy removing heavy, custom JSON parsers and replacing them with a smooth and lightweight conformation to Decodable, in the model layer… And I am no exception: In a recent project for a client, I had the joy of enhancing the model layer of a large application with one of the goals being a complete conformation to Codable.

--

--

Kewin

Lead iOS Engineer @ Jabra 🇩🇰 Full time 💻📲 — part time ‍🏊🏼🚴🏼🏃🏻⛷⚽️