How to use Result in Swift 5 – Hacking with Swift