Updates Nov 21, 2021. Add references to the new Codable features and rework the existing tips. I’ve just finished migrating our app to Codable and I’d like to share some of the tips and tricks that I’ve come up with along the way. You can download a Swift Playground with all of the code from this article. Apple introduced Codable in Swift 4 with a motivation to replace old NSCoding APIs. Unlike NS