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
CocoaPods: Gerenciador de Dependência para iOS ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Guilherme Martinez Sampaio
July 10, 2013
Technology
84
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CocoaPods: Gerenciador de Dependência para iOS e Mac
Guilherme Martinez Sampaio
July 10, 2013
More Decks by Guilherme Martinez Sampaio
See All by Guilherme Martinez Sampaio
Reactive Cocoa e MVVM
gsampaio
1
110
Other Decks in Technology
See All in Technology
Android の公式 Skill / Android skills
yanzm
0
150
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
220
Snowflakeと仲良くなる第一歩
coco_se
4
480
マルチアカウント環境での コーディングエージェントを使った障害調査が大変なので AIエージェントにReadOnly権限を付与してみた / ReadOnly AI Agents for Multi-Account AWS Incident Response
yamaguchitk333
2
110
【2026年版】 ベクトル検索䛸 Embedding最前線
mocobeta
0
180
エラーバジェットのアラートのタイミングを考える.pdf
kairim0
0
150
小さく始める AI 活用推進 ― 日経電子版 Web チームの事例/nikkei-tech-talk47
nikkei_engineer_recruiting
0
270
200個のGitHubリポジトリを横断調査したかった
icck
0
130
プロダクト開発から業務改善コンサルまで。事業全体へ「染み出す」ことで広がるエンジニアの可能性
ham0215
0
130
アンオフィシャルな、オフィシャルからのお願い
wyamazak_devrel
0
110
Claude Codeとのおしゃべりでセマンティックモデルの定義からダッシュボード作成まで完成させる
nic_sugiyama
0
110
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
3
220
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
330
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
230
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
590
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Crafting Experiences
bethany
1
180
The Invisible Side of Design
smashingmag
302
52k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Speed Design
sergeychernyshev
33
1.8k
Transcript
Cocoa Pods Guilherme Martinez Sampaio Wednesday, July 10, 13
Gerenciador de dependência para iOS e OSX Wednesday, July 10,
13
AFNetworking SSKeychain GoogleAnalytics-iOS-SDK OCMock FormatterKit FacebookSDK SDWebImage FlatUIKit GHUnit GPUImage
MBProgressHUD TestFlightSDK e mais 1836 outros projetos! Cheio de projetos open source Wednesday, July 10, 13
Instalação $ [sudo] gem install cocoapods $ pod setup Wednesday,
July 10, 13
Adicionando ao Projeto $ touch Podfile $ open -e Podfile
Wednesday, July 10, 13
plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>
3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>
3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>
3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>
3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
plataform :ios, ‘6.0’ inhibit_all_warnings! pod ‘AFNetworking’, ‘1.1.0’ pod ‘Reachability’, ‘~>
3.0.0’ pod ‘FormatterKit’ target ‘MyTestTarget’ do pod ‘OCMock’, ‘~> 2.0.1’ end Wednesday, July 10, 13
Adicionando ao Projeto $ pod install Wednesday, July 10, 13
Pronto, todos as dependências serão baixadas e um workspace sera
configurado Wednesday, July 10, 13
Demo Wednesday, July 10, 13
Criando uma Podspec $ pod spec create Wednesday, July 10,
13
Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary
= “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “
[email protected]
”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary
= “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “
[email protected]
”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary
= “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “
[email protected]
”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
Pod::Spec.new do |s| s.name = “MyComponent” s.version = “0.0.1” s.summary
= “Descrição” s.homepage = “http://EXAMPLE/MyComponent” s.license = “MIT” s.author = {“Guilherme” => “
[email protected]
”} s.source = {:git => ”path.git”, :tag => “0.0.1” } s.plataform = :ios, ‘6.0’ s.source_files = “Classes/**/*.{h,m}” s.frameworks = “CoreImage”, “CoreAudio” s.requires_arc = true s.dependecy ‘FlatUIKit’, ‘~> 1.2’ end Wednesday, July 10, 13
Criando uma Podspec $ pod spec lint Wednesday, July 10,
13
Criando uma Repositório de Specs $ mkdir MyPodspecRep $ cd
MyPodspecRep $ mkdir MySpec $ cd MySpec $ mkdir 0.0.1 $ cp path/to/MySpec.podspec 0.0.1/ recomendo fortemente criar um git para este repositório Wednesday, July 10, 13
Criando uma Repositório de Specs $ mv MyPodspecRep ~/.cocoapods Wednesday,
July 10, 13
Demo Wednesday, July 10, 13
Obrigado! @gsampaio https://github.com/gsampaio/TDCExample http://cocoapods.org Wednesday, July 10, 13