Using Swift’s Result type
In the last post, I wrote about using Codables to simplify the code for deserializing JSON. Another neat networking feature of Swift that came out in the past couple years with Swift 5 is the Result type. While Codable assists with deserializing the ...
May 18, 20213 min read55
