Fresh Swift
  • About
  • Tags
Fresh Swift

SingleValueCodable - A simple exercise in leverage

A single-value wrapper type is a type which encapsulates only a single property. Dealing with such types when using Swift’s Codable protocols can lead to less than perfect representations of the type’s data. In this post, Russ Bishop works through a small exercise in extending Codable to better such types.

Posted on October 27, 2017

#codable 
  • ← Previous Post
  • Next Post →

 •  2019  •  Fresh Swift

Hugo v0.20.7 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo