cocoapods podfile code example
Example 1: cocoa pods
$ sudo gem install cocoapods
Example 2: pod reference github
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'master'
$ sudo gem install cocoapods
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'master'