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
リーダーズ9期 CocoaPods講座
Search
Ryosei Shinoki
April 15, 2017
0
75
リーダーズ9期 CocoaPods講座
Ryosei Shinoki
April 15, 2017
Tweet
Share
More Decks by Ryosei Shinoki
See All by Ryosei Shinoki
チームで使おうGit&GitHub
shinokiryosei
0
1.4k
リーダーズ9期 GitHub講座
shinokiryosei
0
190
Leaders 9期 コースプレゼン
shinokiryosei
0
170
AutoLayout講座
shinokiryosei
2
140
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
100
Leo the Paperboy
mayatellez
5
1.6k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
460
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
A Soul's Torment
seathinner
5
2.5k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Visualization
eitanlees
150
17k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
490
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
660
Transcript
CocoaPods Leaders 9th
CocoaPodsͰϥΠϒϥϦΛಋೖ Goal
CocoaPods? • ϥΠϒϥϦཧπʔϧ • GitHubBitBucketͰެ։͞Ε͍ͯΔϥΠϒϥ ϦͷϓϩδΣΫτͷಋೖΛ؆୯ʹ͢Δπʔϧ • https://github.com/CocoaPods/CocoaPods/ • https://cocoapods.org/
ϥΠϒϥϦʁ • ݸਓձ͕ࣾ։ൃΛָʹͨ͠Γɺศརͳػೳ ΛΞϓϦʹಋೖ͢ΔίʔυϓϩδΣΫτΛ ΦʔϓϯιʔεͰެ։ͯ͘͠Ε͍ͯΔͷ • ͲΕ͚ͩେ͖ͯ͘༗໊ͳձࣾɾΞϓϦ CocoaPodsΛ͍ͬͯΔɻ • ंྠͷ࠶ൃ໌
Uber • iOSΤϯδχΞ͚ͩͰ150ਓ͘Β͍͍ΔΒ͠ ͍ɻ • ϋϯόʔΨʔϝχϡʔ > Legal > Software
License • RxɺLottieɺZipɺSwift Youtube Player etc…
Έ
Xcode Project ϥΠϒϥϦA ϥΠϒϥϦB ϥΠϒϥϦC
Xcode Project ϥΠϒϥϦA ϥΠϒϥϦB ϥΠϒϥϦC CocoaPods
Hands on
ʲSwiftʳCocoaPodsಋೖखॱ
Hands on
͓͞Β͍
ίϚϯυҰཡ • pod init • pod install • pod update
pod init • init(initialͷུ)ͳͷͰɺCocoaPodsΛ͏ͨΊ ʹ࠷ॳʹ1ճ͚ͩ͏ίϚϯυ • PodfileΛੜ
pod install • PodfileʹैͬͯϥΠϒϥϦΛಋೖ • xcworkspaceΛੜ
pod update • PodfileʹैͬͯϥΠϒϥϦΛߋ৽ • ϥΠϒϥϦͷόʔδϣϯΛࣗಈͰߋ৽ͯ͘͠ ΕΔ
ϓϩδΣΫτߏ • Podfile • Podfile.lock • xcworkspace
Podfile • ಋೖ͢ΔϥΠϒϥϦʹ͍ͭͯهड़༷ͨ͠ॻ • pod installpod updateͷίϚϯυΛୟ͘ ͱɺPodfileͷهड़༰ʹैͬͯϥΠϒϥϦ͕ ಋೖ͞ΕΔ •
։ൃऀ͕ฤू͢Δ༷ॻ
Podfile.lock • ಋೖ͞ΕͨϥΠϒϥϦͷ༰ʹ͍ͭͯهड़͞ Ε༷ͨॻ • CocoaPods͕ࣗಈͰੜͯ͠ɺهड़ͯ͘͠Ε Δɻ • ։ൃऀฤू͠ͳ͍༷ॻ
xcworkspace • CocoaPodsΛͬͯ։ൃΛ͢Δͱ͖ʹ։͘ϓϩ δΣΫτϑΝΠϧ • CocoaPodsͰϥΠϒϥϦΛಋೖ͔ͯ͠Β xcodeprojͰͳ͘ɺxcworkspaceΛ։͘ • ΞϓϦͷxcodeprojͱPods.xcodeprojΛಉ࣌ʹ։ ͍ͯ͘ΕΔ