Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yet another Dependency Manager
Search
Piet Brauer
January 08, 2015
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Yet another Dependency Manager
Held at the local Cocoaheads Hamburg
Piet Brauer
January 08, 2015
More Decks by Piet Brauer
See All by Piet Brauer
Designing Pro Apps @ FrenchKit 2016
pietbrauer
0
770
The Future Of Computing
pietbrauer
0
81
DevOps in the iOS world
pietbrauer
0
410
FBSnapshotTestCase
pietbrauer
1
280
Modular iOS App @ UIKonf 2014
pietbrauer
7
290
Scaling iOS Development
pietbrauer
1
110
Modular iOS Apps
pietbrauer
2
370
Unit Testing
pietbrauer
1
93
Other Decks in Programming
See All in Programming
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
240
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
3.8k
T3DD26: From RAGs to Riches
martinhelmich
0
120
Hono + Inertia + React で LP を構築した話
oukayuka
2
180
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
840
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
170
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
260
信頼性の目標を誰も求めてない
shubox
0
270
Deep dive into the select statement (GopherCon UK)
jespino
0
150
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
570
React本体のコードリーディング
high_g_engineer
1
160
ソフトウェアラスタライザ
fadis
1
730
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
380
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Code Reviewing Like a Champion
maltzj
528
40k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
500
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
510
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
580
Are puppies a ranking factor?
jonoalderson
2
3.8k
The Invisible Side of Design
smashingmag
301
52k
Automating Front-end Workflow
addyosmani
1369
210k
4 Signs Your Business is Dying
shpigford
187
23k
Transcript
Yet another Dependency manager by the creator of @AirportQuiz
Cocoapods • since 17/9/2011 • originally created by @alloy •
written in ruby • currently 7499 packages published
Carthage • since 18/11/2014 • created by jspahrsummers • written
in Swift • theoretically every Xcode project can be a package
Cocoapods Installation gem install cocoapods
Carthage installation brew install carthage
Providing a package (Cocoapods edition) • build your project •
specify a podspec (easy ruby syntax) • push it to trunk • new authentication system • pushes it to Github specs repository
Providing a package (Carthage edition) • build your project •
define dependencies (if any) in a Cartfile (custom DSL) • provide a Xcode project that builds a framework
Integrating other projects into yours (Cocoapods) • Write it down
in Podfile • pod "NBNRealmBrowser", '~> 0.2.0' • pod install • Cocoapods will download dependencies and integrate them into your project
Integrate other projects into yours (Carthage) • Write down in
Cartfile • github "NBNPhotoChooser" ~> 0.2.0 • carthage update • integrate the built .frameworks yourself
Upsides Cocoapods • well done dev toolset around dependencies •
Cocoadocs • project bootstrapping • widely adopted and supported • no integration pain
Upsides Carthage • new and fresh • not another language
to know • feels more natural for iOS developers
Downsides Cocoapods • modifies your project and you have to
use a Xcode workspace • written in Ruby
Downsides Carthage • pretty new • adoption is not as
widely as with cocoapods • integration is still a small pain • iOS 8 only
Conclusion This page intentionally left blank.