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
0
160
Yet another Dependency Manager
Held at the local Cocoaheads Hamburg
Piet Brauer
January 08, 2015
Tweet
Share
More Decks by Piet Brauer
See All by Piet Brauer
Designing Pro Apps @ FrenchKit 2016
pietbrauer
0
730
The Future Of Computing
pietbrauer
0
61
DevOps in the iOS world
pietbrauer
0
400
FBSnapshotTestCase
pietbrauer
1
270
Modular iOS App @ UIKonf 2014
pietbrauer
7
270
Scaling iOS Development
pietbrauer
1
90
Modular iOS Apps
pietbrauer
2
340
Unit Testing
pietbrauer
1
80
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
AI巻き込み型コードレビューのススメ
nealle
1
240
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
270
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
並行開発のためのコードレビュー
miyukiw
0
120
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
230
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
700
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
570
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
Abbi's Birthday
coloredviolet
1
4.7k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
Documentation Writing (for coders)
carmenintech
77
5.3k
Docker and Python
trallard
47
3.7k
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.