I have used Alamofire
in one of my application. Now Application needs to update. So I have updated Alamofire
pods with new version.
Now I don't know how to call Alamofire
request in swift 5 with new version of Alamofire
. I have tried, but it's throwing error. I have searched lot, but not found ny solution.
Can anyone help me to make a call with Alamofire
?
Errors :
- Protocol type 'Any' cannot conform to 'Encodable' because only concrete types can conform to protocols
- Value of type 'Result' has no member 'isFailure'
- Value of type 'Result' has no member 'error'