Your SlideShare is downloading. ×
Codemotion  2013 -  presentación cocoa pods
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Codemotion 2013 - presentación cocoa pods

578

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
578
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Jorge Maroto García Cuando haces Pods ya no hay stop @patoroco jorge@tactilapp.com http://tactilapp.com Saturday, October 19, 13
  • 2. Hola, me presento… Jorge Maroto García. Co-founder & iOS Developer @ Tactilapp. +3 años jugando con iOS. AFNetworking collaborative book http://afnbook.github.io/ Fanboy. Saturday, October 19, 13
  • 3. SOFTWARE Flickr: http://www.flickr.com/photos/julianaorihuela/384300758/ Saturday, October 19, 13
  • 4. Gestión de dependencias I Reutilización ‘manual’ del código Eufemismo del copy & paste. Pros: ¿fácil? Contras: descarga + configuración manual. lib.zip, lib-old.zip, lib-oldest.zip... Modo hacker: git clone Saturday, October 19, 13
  • 5. Eloy Durán - Without Cocoa Pods (https://vimeo.com/63891717) Saturday, October 19, 13
  • 6. Gestión de dependencias II Submódulos GIT Pros: fácil de actualizar. Contras: configuración manual. Saturday, October 19, 13
  • 7. Gestión de dependencias III Saturday, October 19, 13
  • 8. ¿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,... Saturday, October 19, 13
  • 9. ¿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 Saturday, October 19, 13
  • 10. Saturday, October 19, 13
  • 11. ¿Cómo? Gema de Ruby. Podfile + .podspec. Repositorio en github con todas las specs. Saturday, October 19, 13
  • 12. ¿Dónde? Web de Cocoa Pods http://cocoapods.org/ Gema de Ruby http://rubygems.org/gems/cocoapods Saturday, October 19, 13
  • 13. ¿Quién? Fuente: https://speakerdeck.com/orta/cocoapods-state-of-the-union Saturday, October 19, 13
  • 14. ¿Cuánto? Saturday, October 19, 13
  • 15. Saturday, October 19, 13
  • 16. Saturday, October 19, 13
  • 17. Saturday, October 19, 13
  • 18. 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 Saturday, October 19, 13
  • 19. Saturday, October 19, 13
  • 20. Instalación Tip: Gemfile por proyecto * * http://www.punteroavoid.com/blog/2013/07/12/iniciando-un-nuevo-proyecto-ios/ Saturday, October 19, 13
  • 21. Backstage Saturday, October 19, 13
  • 22. 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. Saturday, October 19, 13
  • 23. Crear el podfile Saturday, October 19, 13
  • 24. Crear el podfile Saturday, October 19, 13
  • 25. Editar Podfile Saturday, October 19, 13
  • 26. Instalación Saturday, October 19, 13
  • 27. .xcworkspace Nuevo proyecto Pods. Añadidas las librerías del Podfile. Añadidas las dependencias. Frameworks del SDK. Otras librerías Cocoa Pods. Saturday, October 19, 13
  • 28. Utilizando la librería Saturday, October 19, 13
  • 29. Saturday, October 19, 13
  • 30. Saturday, October 19, 13
  • 31. Control de versiones .xcworkspace Podfile Podfile.lock Pods/ Saturday, October 19, 13
  • 32. ¿Librerías? Foto: http://www.dogwallpapers.net Saturday, October 19, 13
  • 33. http://cocoapods.org Saturday, October 19, 13
  • 34. @cocoapods Saturday, October 19, 13
  • 35. http://github.com/CocoaPods/specs Saturday, October 19, 13
  • 36. Saturday, October 19, 13
  • 37. ¡Mi librería tiene que ser c00l! Saturday, October 19, 13
  • 38. 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 Saturday, October 19, 13
  • 39. Saturday, October 19, 13
  • 40. Saturday, October 19, 13
  • 41. Saturday, October 19, 13
  • 42. Los niños buenos testean los podspecs antes de enviarlos Saturday, October 19, 13
  • 43. Saturday, October 19, 13
  • 44. 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. Saturday, October 19, 13
  • 45. Saturday, October 19, 13
  • 46. Saturday, October 19, 13
  • 47. Saturday, October 19, 13
  • 48. ¿Y si no es mi librería? Foto: http://www.fondosni.com/ Saturday, October 19, 13
  • 49. Saturday, October 19, 13
  • 50. Saturday, October 19, 13
  • 51. A mi jefe no le gusta que enseñe Foto: https://vimeo.com/51631519 Saturday, October 19, 13
  • 52. 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. Saturday, October 19, 13
  • 53. Saturday, October 19, 13
  • 54. Saturday, October 19, 13
  • 55. Saturday, October 19, 13
  • 56. Saturday, October 19, 13
  • 57. Saturday, October 19, 13
  • 58. Saturday, October 19, 13
  • 59. Una ayudita, por favor Saturday, October 19, 13
  • 60. KFCocoaPodsPlugin https://github.com/ricobeck/KFCocoaPodsPlugin Saturday, October 19, 13
  • 61. Saturday, October 19, 13
  • 62. CocoaDocs http://cocoadocs.org Saturday, October 19, 13
  • 63. Saturday, October 19, 13
  • 64. Saturday, October 19, 13
  • 65. Jorge Maroto García Cuando haces Pods ya no hay stop jorge@tactilapp.com @patoroco http://tactilapp.com http://jorgemaroto.es http://git.jorgemaroto.es http://in.jorgemaroto.es Saturday, October 19, 13

×