Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Yet another Dependency Manager
Piet Brauer
January 08, 2015
Programming
0
130
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
510
The Future Of Computing
pietbrauer
0
38
DevOps in the iOS world
pietbrauer
0
330
FBSnapshotTestCase
pietbrauer
1
250
Modular iOS App @ UIKonf 2014
pietbrauer
7
230
Scaling iOS Development
pietbrauer
1
69
Modular iOS Apps
pietbrauer
2
320
Unit Testing
pietbrauer
1
60
Other Decks in Programming
See All in Programming
サーバーレスパターンから学ぶデータ分析基盤構築 / devio2022
kasacchiful
0
480
Rust、何もわからない...#3
estie
0
160
Enzyme から React Native Testing Library に移行した経緯 / 2022-07-20
tamago3keran
1
160
Pythonによる開発をアップデートするライブラリの紹介
daikikatsuragawa
1
600
Regular expressions basics/正規表現の基本
kishikawakatsumi
6
260
話題の AlloyDB は本当に凄いデータベースなのでプレビューを使い倒した #devio2022
maroon1st
0
13k
Pluggable Storage in PostgreSQL
sira
1
190
僕が便利だと感じる Snow Monkey の特徴/20220723_Gifu_WordPress_Meetup
oleindesign
0
110
パスワードに関する最近の動向
kenchan0130
1
320
読みやすいコード クラスメソッド 2022 年度新卒研修
januswel
0
2.9k
企業内スモールデータでのデータ解析
hamage9
0
890
Isar勉強会
hoddy3190
0
410
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
151
13k
Building a Scalable Design System with Sketch
lauravandoore
448
30k
Design by the Numbers
sachag
271
17k
What's new in Ruby 2.0
geeforr
335
30k
Rails Girls Zürich Keynote
gr2m
87
12k
Support Driven Design
roundedbygravity
87
8.6k
The Art of Programming - Codeland 2020
erikaheidi
32
11k
Bash Introduction
62gerente
598
210k
Ruby is Unlike a Banana
tanoku
91
9.3k
From Idea to $5000 a Month in 5 Months
shpigford
373
44k
A better future with KSS
kneath
226
16k
Side Projects
sachag
450
37k
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.