Closed JamesDale closed 4 years ago
Proposal: The completion handlers currently being used should be changed to the Swift 5 type, Result.
This is more swifty and generally the more community-accepted way to provide values from asynchronous functions.
https://developer.apple.com/documentation/swift/result
Also includes some indentation fixes using Xcode's recommended formatting.
Looks good! Thanks for your contribution!
Proposal: The completion handlers currently being used should be changed to the Swift 5 type, Result.
This is more swifty and generally the more community-accepted way to provide values from asynchronous functions.
https://developer.apple.com/documentation/swift/result