1. CocoaHeads Paris
Jeudi 7 février 2013
Mathieu Godart
SmallTalk
CocoaPods Introduction
2. CocoaPods Introduction
To integrate a new framework to a project:
Get the code: git submodule add …
(or worse: Download and unzip the last version…)
Add files to your project
Add dependencies
Add compiler and linker flags
3. CocoaPods Introduction
Add pod 'MKNetworkKit' to the Podfile
Run pod update
There's no step three!
Quicker, easier and… less risky!
4. CocoaPods Introduction
Install:
gem install cocoapods
pod setup
New project architecture:
MyApp.xcworkspace
MyApp.xcodeproj
Pod.xcodeproj
5. CocoaPods Introduction
More details on CocoaPods
A list of available Pods
➲ http://cocoapods.org
Please contribute, it's easier than filling a Radar
6.
7. CocoaHeads Paris
CocoaPods Introduction
Mathieu Godart
@MonsieurDart
mathieu@
www.atelierdumobile.com