Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CocoaPods intro

Marin Usalj
September 04, 2014

CocoaPods intro

A beginner - level talk on CocoaPods for NSMeetup 09/2014

Marin Usalj

September 04, 2014
Tweet

More Decks by Marin Usalj

Other Decks in Programming

Transcript

  1. VS

  2. Podfile pod 'AFNetworking' pod 'Kiwi', :head pod 'SSKeychain', '~> 2.1.2'

    pod 'SSKeychain', '~> 2.1.3' # .... pod 'SSKeychain', '~> 2.1.999'
  3. $ pod Commands: + help Show help for the given

    command. + init Generate a Podfile for the current directory. + install Install project dependencies + lib Develop pods + list List pods + outdated Show outdated project dependencies + plugins Show available CocoaPods plugins + repo Manage spec-repositories + search Searches for pods + spec Manage pod specs + trunk Interact with the CocoaPods API (e.g. publishing new specs) + try Try a Pod! + update Update outdated project dependencies
  4. . ├── Example │ ├── AwesomeLib │ ├── AwesomeLib.xcodeproj │

    ├── AwesomeLib.xcworkspace │ ├── Pods │ └── Tests └── Pod ├── Assets └── Classes 9 directories