From the course: iOS Network Development Using URLSession and Alamofire

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Installation of Alamofire with CocoaPods

Installation of Alamofire with CocoaPods - iOS Tutorial

From the course: iOS Network Development Using URLSession and Alamofire

Installation of Alamofire with CocoaPods

- [Instructor] Now that we've seen the benefits of Alamofire we need to be able to install it, so that we can use it, and start making requests to the server. Alamofire provides installation instructions at its website at github.com/Alamofire/Alamofire. There's different ways you can install Alamofire. There's CocoaPods, Carthage, the Swift Package Manager, and also installing it manually by downloading the code and including it in your project. We're going to go with CocoaPods. I tend to find it's the easiest one not only to use for installing a pod but also for updating for future versions of the pod. Alamofire doesn't require any other CocoaPods. There are some other pods included in the Alamofire CocoaPod but there's nothing else you need to download and install. Of course you have to have CocoaPods installed on your machine. To install CocoaPods, use the command gem install cocoapods. For additional information you can go to cocoapods.com and see more about the requirements and…

Contents