Swift 5 introduces Result type. This demo shows how to use it along with Alamofire and the comparison of the old and new ways of handling API responses.
Check source code at Github:
https://github.com/Sylvia-YiyinShen/ResultTypeWithAlamofire
NetworkService:
Calling NetworkService to perform requests
No comments:
Post a Comment