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
Cuando haces Pods ya no hay stop - CocoaPods - ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jorge Maroto
October 19, 2013
Programming
2.5k
0
Share
Cuando haces Pods ya no hay stop - CocoaPods - Codemotion 2013
http://codemotion.es/talk/19-october/26
Jorge Maroto
October 19, 2013
More Decks by Jorge Maroto
See All by Jorge Maroto
React Native Introduction
patoroco
2
400
Intro to React Native
patoroco
0
170
Automatiza tu flow en iOS
patoroco
2
390
Synchronizing without internet - Multipeer Connectivity (iOS)
patoroco
0
480
Testing en iOS - AgileCyL - Pucela Testing Days 2013
patoroco
0
2.5k
Introducción al desarrollo para iOS - CyLicon Valley
patoroco
0
120
Other Decks in Programming
See All in Programming
Swift Concurrency Type System
inamiy
1
540
Server-Side Kotlin LT大会 vol.18 [Kotlin-lspの最新情報と Neovimのlsp設定例]
yasunori0418
1
170
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
380
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
180
ハーネスエンジニアリングとは?
kinopeee
12
5.9k
🦞OpenClaw works with AWS
licux
1
190
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
730
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
3
350
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
580
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.4k
Road to RubyKaigi: Play Hard(ware)
makicamel
1
380
CDK Deployのための ”反響定位”
watany
5
800
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Evolving SEO for Evolving Search Engines
ryanjones
0
180
Technical Leadership for Architectural Decision Making
baasie
3
330
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
69
39k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Cult of Friendly URLs
andyhume
79
6.8k
The agentic SEO stack - context over prompts
schlessera
0
760
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
680
Prompt Engineering for Job Search
mfonobong
0
270
Transcript
@patoroco
[email protected]
http://tactilapp.com Jorge Maroto García Cuando haces Pods ya
no hay stop
Jorge Maroto García. Co-founder & iOS Developer @ Tactilapp. +3
años jugando con iOS. AFNetworking collaborative book http://afnbook.github.io/ Fanboy. Hola, me presento…
Flickr: http://www.flickr.com/photos/julianaorihuela/384300758/ SOFTWARE
Eufemismo del copy & paste. Pros: ¿fácil? Contras: descarga +
configuración manual. lib.zip, lib-old.zip, lib-oldest.zip... Modo hacker: git clone Gestión de dependencias I Reutilización ‘manual’ del código
Eloy Durán - Without Cocoa Pods (https://vimeo.com/63891717)
Eloy Durán - Without Cocoa Pods (https://vimeo.com/63891717)
Gestión de dependencias II Submódulos GIT Pros: fácil de actualizar.
Contras: configuración manual.
Gestión de dependencias III
¿Qué? Gestor de dependencias para Objective-C (iOS & Mac OS
X). Basado en Ruby Gems + Bundler. Símiles para otros lenguajes. npm, gems, composer, Maven,...
¿Cuándo? First commit, 12 Agosto 2011. Eloy Durán (@alloy). Versión
actual: 0.26.2 (19.10.13). Historia & hitos: https://speakerdeck.com/orta/cocoapods-state-of-the-union
None
¿Cómo? Gema de Ruby. Podfile + .podspec. Repositorio en github
con todas las specs.
¿Dónde? Web de Cocoa Pods http://cocoapods.org/ Gema de Ruby http://rubygems.org/gems/cocoapods
¿Quién? Fuente: https://speakerdeck.com/orta/cocoapods-state-of-the-union
¿Cuánto?
None
None
None
Datos 2 años de trabajo. 1.400 colaboradores. 2.300 librerías. 4.000
pull-requests. 6.000 podspecs. 220.000 descargas (Ruby Gems). Fuente: https://speakerdeck.com/orta/cocoapods-state-of-the-union
None
Instalación Tip: Gemfile por proyecto * * http://www.punteroavoid.com/blog/2013/07/12/iniciando-un-nuevo-proyecto-ios/
Backstage
Hello Pods! 1. Crear proyecto en XCode. 2. Crear y
configurar el Podfile. 3. pod install. 4. A partir de ahora se utiliza el .xcworkspace en vez de el .xcodeproj.
Crear el podfile
Crear el podfile
Editar Podfile
Instalación
.xcworkspace Nuevo proyecto Pods. Añadidas las librerías del Podfile. Añadidas
las dependencias. Frameworks del SDK. Otras librerías Cocoa Pods.
Utilizando la librería
None
None
Control de versiones .xcworkspace Podfile Podfile.lock Pods/
¿Librerías? Foto: http://www.dogwallpapers.net
http://cocoapods.org
@cocoapods
http://github.com/CocoaPods/specs
None
¡Mi librería tiene que ser c00l!
Do It Yourself 1. Crea la librería. 2. git tag
(*) 3. Súbela a Github. 4. Crea el fichero .podspec 5. ¡Comparte! * Ruby Gems Semantic Versioning http://guides.rubygems.org/patterns/#semantic_versioning
None
None
None
Los niños buenos testean los podspecs antes de enviarlos
None
Comparte el podspec 1. Repito: verifica tu podspec. 2. No
te saltes el paso 1. 3. Fork del repositorio de Specs. 4. Crear carpeta versionada de la librería. 5. Push.
None
None
None
¿Y si no es mi librería? Foto: http://www.fondosni.com/
None
None
A mi jefe no le gusta que enseñe Foto: https://vimeo.com/51631519
Specs privados 1. Fork del repo Specs de github (opcional).
2. Añadir repo a la búsqueda de pods. 3. Crear pod normalmente. 4. Guardar versionado.
None
None
None
None
None
None
Una ayudita, por favor
KFCocoaPodsPlugin https://github.com/ricobeck/KFCocoaPodsPlugin
KFCocoaPodsPlugin https://github.com/ricobeck/KFCocoaPodsPlugin
None
CocoaDocs http://cocoadocs.org
None
None
[email protected]
http://tactilapp.com Jorge Maroto García Cuando haces Pods ya no
hay stop @patoroco http://jorgemaroto.es http://git.jorgemaroto.es http://in.jorgemaroto.es http://maroto.me/ttzc