Monday 1 April 2019

Use Result Type in Swift 5 with Alamofire

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