CoreData

Codable CoreData

Swift 4 [https://swift.org/blog/swift-4-0-released/], amongst other things, brought a way to serialize/deserialize data into/from model objects called Codable. Those changes were proposed under SE-0166 [https://github.com/apple/swift-evolution/blob/master/proposals/0166-swift-archival-serialization.md] . I'm not going to elaborate on how Codable works