In this tutorial, we will learn how we can use Alamofire library for making network request, or API request in swift 5. Alamofire is a wrapper built around apple default network classes and makes a developer life easy. In this tutorial, we will get Countries name, capital and code, we will parse json response using codable.
Source code :- http://bit.ly/310nU3F
Alamofire github page: https://github.com/Alamofire/Alamofire