Beyond ‘what is CocoaPods?’ @ CocoaHeads NL 21-02-2014

Post on 31-Aug-2014

555 views 5 download

Tags:

description

Some often overlooked features of CocoaPods.

Transcript of Beyond ‘what is CocoaPods?’ @ CocoaHeads NL 21-02-2014

21 Jan 2014@alloy

Eloy Durán

Beyond ‘what is CocoaPods?’

21 Jan 2014@alloy

What is CocoaPods?

21 Jan 2014@alloy

WHAT IS COCOAPODS?

A Dependency Manager A Community around mostly Open-Source Objective-C code

21 Jan 2014@alloy

WHAT IS COCOAPODS?

Users install a Ruby gem Developers provide recipes, for building libraries through Xcode, called Podspecs Users write a list of dependencies in a Podfile CocoaPods pulls in externals to your project with as little changes to your project as possible

21 Jan 2014@alloy

Acknowledgments

21 Jan 2014@alloy

ACKNOWLEDGMENTS

Pods you use in your application Their copyright information Their license information

21 Jan 2014@alloy

ACKNOWLEDGMENTS

21 Jan 2014@alloy

ACKNOWLEDGMENTS

21 Jan 2014@alloy

ACKNOWLEDGMENTS

21 Jan 2014@alloy

ACKNOWLEDGMENTS

It’s not Open-Source unless it has an OSI approved license Without any license, you are not allowed to use other people’s work at all Most developers ANAL, they won’t bother

21 Jan 2014@alloy

ACKNOWLEDGMENTS

21 Jan 2014@alloy

$ pod lib lint

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

$ POD LIB LINT

21 Jan 2014@alloy

Specification repositories

21 Jan 2014@alloy

SPECIFICATION REPOSITORIES

21 Jan 2014@alloy

SPECIFICATION REPOSITORIES

21 Jan 2014@alloy

Plugins

21 Jan 2014@alloy

PLUGINS

$ pod browse ARAnalytics $ pod doc ORStackView $ pod try FLKAutoLayout

21 Jan 2014@alloy

Roadmap

21 Jan 2014@alloy

TRUNK.COCOAPODS.ORG

Centralised authentication server Handles taking a JSON Podspec and merging into the Specs repo

21 Jan 2014@alloy

ITERATIVE DEPENDENCY RESOLVER

Create a recursive dependency graph, looking through history This means that very complex dependencies can be automated

21 Jan 2014@alloy

Thanks@alloy / @CocoaPods / @CocoaPodsFeed