Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gerenciando dependencias no iOS com CocoaPods, ...

Gerenciando dependencias no iOS com CocoaPods, QCon SP 2012

Apresentação no QCon 2012 sobre gerenciamento de dependências no mundo Apple - tanto para OSX quando para iOS - utilizando CocoaPods.

Diego Chohfi

August 07, 2012
Tweet

More Decks by Diego Chohfi

Other Decks in Programming

Transcript

  1. QCon SP 2012 - Caelum @dchohfi ohfi fi Gerenciando dependências

    no iOS Diego Chohfi Turini github: /dchohfi CocoaPods .org Tuesday, August 7, 12
  2. QCon SP 2012 - Caelum @dchohfi ohfi fi Gerenciando dependências

    no iOS Diego Chohfi Turini github: /dchohfi CocoaPods .org Tuesday, August 7, 12
  3. QCon SP 2012 - Caelum @dchohfi ohfi fi $[sudo] gem

    install cocoapods $pod setup Ruby Gem Tuesday, August 7, 12
  4. QCon SP 2012 - Caelum @dchohfi ohfi fi platform :ios

    pod 'DCKeyValueObjectMapping', '~> 1.1' pod 'SBJson', '~> 3.1' $ touch Podfile $ mate Podfile $ pod install $ open App.xcworkspace For User Tuesday, August 7, 12
  5. QCon SP 2012 - Caelum @dchohfi ohfi fi For Devs

    github.com/CocoaPods/Specs Fork it Pod/version/pod.podsec Tuesday, August 7, 12
  6. QCon SP 2012 - Caelum @dchohfi ohfi fi Pod::Spec.new  do

     |s|    s.name                          =    'DCKeyValueObjectMapping'    s.version                    =    '1.1'    s.license                    =    'MIT'    s.summary                    =    'Blablabla,  whiskas  sache'    s.homepage                  =    'https://github.com/dchohfi/KeyValueObjectMapping'    s.author                      =    {  'Diego  Chohfi'  =>  '[email protected]'  }    s.source                      =    {  :git  =>  'https://github.com/dchohfi/ KeyValueObjectMapping.git',  :tag  =>  '1.1'  }    s.source_files          =    'KeyValueObjectMapping'    s.requires_arc          =    true end Specs / DCKeyValueObjectMapping / 1.1 / DCKeyValueObjectMapping.podspec WIN \o/ Tuesday, August 7, 12
  7. QCon SP 2012 - Caelum @dchohfi ohfi fi IP-67 |

    Desenvolvimento móvel com iOS 5 Quer aprender mais? Tuesday, August 7, 12