$30 off During Our Annual Pro Sale. View Details »

Swift London: CocoaPods - Pioneering Swift

Swift London: CocoaPods - Pioneering Swift

Talk at Swift London at 21th Oct 2014 about the roadmap of Swift and framework support of CocoaPods, the dependency manager for Cocoa.

Marius Rackwitz

October 21, 2014
Tweet

More Decks by Marius Rackwitz

Other Decks in Programming

Transcript

  1. 21 Oct 2014 @mrackwitz Marius Rackwitz Pioneering
 Swift

  2. 21 Oct 2014 @mrackwitz LET ME INTRODUCE MYSELF

  3. 21 Oct 2014 @mrackwitz What is CocoaPods?

  4. 21 Oct 2014 @mrackwitz WHAT IS COCOAPODS? An application level

    dependency manager A community around mostly open source Objective-C code
  5. 21 Oct 2014 @mrackwitz WHAT IS COCOAPODS? Users downloads a

    ruby gem Developers provide recipes for creating Xcode projects called Podspecs Users write a list of dependencies in simple text file called a Podfile CocoaPods pulls in externals to your project with as little changes to your project as possible
  6. 4 Oct 2014 @orta @fabiopelosin REAL LIFE USAGE

  7. 21 Oct 2014 @mrackwitz Who Makes CocoaPods?

  8. 21 Oct 2014 @mrackwitz WHO MAKES COCOAPODS?

  9. 21 Oct 2014 @mrackwitz WHO MAKES COCOAPODS?

  10. 21 Oct 2014 @mrackwitz I want to use Swift.


  11. 21 Oct 2014 @mrackwitz I want to use Swift
 for

    productive projects.
  12. 21 Oct 2014 @mrackwitz I don't want to convert our

    entire app to Swift.

  13. 21 Oct 2014 @mrackwitz I don't want to convert our

    entire app to Swift.
 Yet.
  14. 21 Oct 2014 @mrackwitz But I want to introduce it

    there, where it has the most impact.
  15. 21 Oct 2014 @mrackwitz I want to use CocoaPods with

    Swift.
  16. 21 Oct 2014 @mrackwitz But you currently can't embed Swift

    Pods.
  17. 21 Oct 2014 @mrackwitz You can use Swift in your

    app, and embed Obj-C Pods.

  18. 21 Oct 2014 @mrackwitz You can use Swift in your

    app,
 but you can't embed Swift Pods.

  19. 21 Oct 2014 @mrackwitz You can use Swift in your

    app,
 but you can't embed Swift Pods.
 So far.
  20. 21 Oct 2014 @mrackwitz XCODE 6 BETAS TOLD US IT

    IS A BUG AND LET US HOPE ...
  21. 21 Oct 2014 @mrackwitz ... XCODE 6 GM SAYS IT'S

    A FEATURE.
  22. 21 Oct 2014 @mrackwitz Static Libraries with Swift are not

    officially supported.
  23. 21 Oct 2014 @mrackwitz But there is another reason, too

    …

  24. 21 Oct 2014 @mrackwitz But there is another reason, too

    …
 (anyone?)
  25. 21 Oct 2014 @mrackwitz @IBDesignable

  26. 21 Oct 2014 @mrackwitz So, we have to support frameworks

    NOW.
  27. 21 Oct 2014 @mrackwitz COCOA TOUCH FRAMEWORKS: Bundles of Resources,

    Clang Module Slices, Standard Dylibs and Embedded Frameworks. We need to support under the hood Clang Modules, too.
  28. 21 Oct 2014 @mrackwitz INSIDE A FRAMEWORK

  29. 21 Oct 2014 @mrackwitz CLANG MODULES MEANS ... @import instead

    #import
  30. 21 Oct 2014 @mrackwitz DYNAMIC FRAMEWORKS NEED TO BE EMBEDDED

  31. 21 Oct 2014 @mrackwitz DYNAMIC FRAMEWORKS NEED TO BE EMBEDDED

  32. 21 Oct 2014 @mrackwitz HAS BEEN A LOT OF FUN

  33. 21 Oct 2014 @mrackwitz Thanks @mrackwitz