Skip to content

Instantly share code, notes, and snippets.

@StuartMorris0
Last active December 26, 2015 02:49
Show Gist options
  • Save StuartMorris0/7081909 to your computer and use it in GitHub Desktop.
Save StuartMorris0/7081909 to your computer and use it in GitHub Desktop.
CocoaPods Cheat Sheet

Cocoa Pods Cocoapods Basic Cheat Sheet

Create a Podfile at the root of your project

platform :ios, '5.0'

pod 'AFNetworking'
pod 'OHAttributedLabel'

target :MyAppTests, :exclusive => true do
  pod 'Kiwi'
end

Update Cocoapods Version

    gem install cocoapods

Create podfile in root of project. Example podfile.

    platform :ios, '6.0'
    
    pod 'AFNetworking', '~> 1.2.1'
    pod 'MBProgressHUD', '~> 0.6'
    pod 'Facebook-iOS-SDK', '~> 3.8'

Update/Install Cocoapods

    pod install

Search for Pods: http://cocoapods.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment