Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are CocoaPods in iOS?

Please can anyone elaborate what are CocoaPods in iOS development. I cant seem to get the idea what they are.

Thanks in advance.

like image 534
Ahmed Z. Avatar asked Sep 03 '13 09:09

Ahmed Z.


1 Answers

CocoaPods is among the best thing that I have found in recent iOS app development. I use it to get latest Github open source project as framework and lib into my project. The best part is it will manage dependency lib automatically so there is no need to drag and drop file and download each on folder blaa blaaa just one simple code 'pod install that is it ! rest will be done by Cocoa-pods believe me it will save you hr of development time and your code will look clean and upto-date :)

If someone need to know how to install Cocoapod just type this in your terminal

sudo gem install cocoapods

and then make a PodFile ( plane text file ) like in folder where your project is in.

platform :ios, 5.0
pod 'RestKit'

then finally on terminal

pod install

Then see the magic :)

like image 189
Bishal Ghimire Avatar answered Nov 15 '22 17:11

Bishal Ghimire