alamofire pod version for swift 5 code example
Example: how to use alamofire pod in swift 5
We need to install the Alamofire Cocoapod.
Navigate to your project directory and type pod init to create your podfile.
Add the Alamofire pod to your podfile.
Save your podfile and run pod install.
Open the xcworkspace file and check that the Alamofire libraries are there.
An Alamofire request.