Building Simple Async API Request With Swift 5 Result Type

Swift 5 has finally been released by Apple to the stable channel at the end of March 2019. In this article, we’ll talk about the new Result type for Swift 5 and how we can utilize that to create an asynchronous API request and simplify handling the completion handler closure.tags: swift, asynchronous