SlideShare a Scribd company logo
COCOAPODS

create own pods
Nahit Rüştü HEPER

@nahitheper
Cocoapods ?
Dependency Manager ?
Why ?
Managing Dependencies with CocoaPods
Find a library
Add to 

your project
Keep it 

up-to-date
Reuse code
Cocoapods
Central Repository (Trunk)
PodFile
Command Line Utility
Cocoapods
sudo gem install cocoapods
Cocoapods
pod init
project '../Example/ExampleProject.xcodeproj'
platform :ios, '9.0'
use_frameworks!
def default_pods
pod 'Kingfisher', '3.3.3'
pod 'FBSDKCoreKit', '4.18.0'
pod 'FBSDKLoginKit', '4.18.0'
pod 'Fabric', '1.6.11'
pod 'Crashlytics', '~>1.22'
pod 'Gifu', '2.0.0'
pod 'Alamofire', '~>2.22'
end
target 'ExampleProd' do
default_pods
end
target 'ExampleDevelop' do
default_pods
end
Cocoapods
pod install
Pod version
Uses semantic (semver.org)
major.minor.patch
target 'Example' do
pod 'Kingfisher', '>3.3.3'
pod 'FBSDKCoreKit', '>=4.1.0'
pod 'FBSDKLoginKit', '<4.1.0'
pod 'Fabric', '<=1.6.11'
pod 'Crashlytics', '~>1.2.2'
pod 'Gifu', '2.0.0'
pod 'Alamofire', '~>2.2.2'
end
pod update
Choosing Dependencies
Community
Maintenance
Documentation
Should i commit ?
Create Your Own Pods
pod lib create Katip
Specify the language (Swift / ObjC)
Include Demo App
Testing Frameworks
View based testing
Katip.podspec
.name the name of your pod
.version your pod version
.summary
.description
.licence
ReplaceMe.swift
git add .
git commit -m "Initial Commit"
git remote add origin https://github.com<USERNAME>/Katip.git
git push -u origin master
git tag 0.1.0
git push origin 0.1.0
pod spec lint Katip.podspec
> Analyzed 1 podspec.

> Katip.podspec passed validation.
pod trunk register  nahitheper@gmail.com “Nahit Rüştü HEPER”
pod trunk push Katip.podspec
Open Source
Creating Cocoapods Library
Creating Cocoapods Library
Creating Cocoapods Library
Creating Cocoapods Library
Demo
Developing code for others
@IBDesignable

@IBInspectable
open / public
Delegates
Logo

Wiki

shields.io

demo

screenshot
Thanks.
Nahit Rüştü HEPER

@nahitheper

More Related Content

PDF
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
PPTX
Cloud Foundry V2 | Intermediate Deep Dive
PDF
Docker composeで開発環境をメンバに配布せよ
PPTX
Docker
PDF
Word count example in hadoop mapreduce using java
PPTX
Vagrant
PDF
Building and Testing from Scratch a Puppet Environment with Docker - PuppetCo...
PDF
Docker1.12イングレスロードバランサ
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
Cloud Foundry V2 | Intermediate Deep Dive
Docker composeで開発環境をメンバに配布せよ
Docker
Word count example in hadoop mapreduce using java
Vagrant
Building and Testing from Scratch a Puppet Environment with Docker - PuppetCo...
Docker1.12イングレスロードバランサ

What's hot (20)

PDF
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
PDF
Infrastructure testing with Jenkins, Puppet and Vagrant - Agile Testing Days ...
PDF
Very Early Review - Rocket(CoreOS)
PDF
手把手帶你學 Docker 入門篇
PDF
PDF
Docker puppetcamp london 2013
PDF
Dockerを利用したローカル環境から本番環境までの構築設計
PDF
CoreOS @ gluecon 2015
PPTX
Automated Deployment with Fabric
PDF
Алексей Петров "Dockerize Me: Distributed PHP applications with Symfony, Dock...
PDF
Test driven infrastructure avec Docker
PPTX
CoreOS in a Nutshell
ODP
Aloofix
PPTX
Using Multi-stage Docker, Go, Java,& Bazel to DESTROY Long Build Times
PDF
Docker 初探,實驗室中的運貨鯨
PDF
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
PDF
Testing your-automation-code (vagrant version) v0.2
PDF
Comment Asciidoctor peut vous aider pour votre doc
PDF
Kubernetes in Google Cloud
PDF
時代在變 Docker 要會:台北 Docker 一日入門篇
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
Infrastructure testing with Jenkins, Puppet and Vagrant - Agile Testing Days ...
Very Early Review - Rocket(CoreOS)
手把手帶你學 Docker 入門篇
Docker puppetcamp london 2013
Dockerを利用したローカル環境から本番環境までの構築設計
CoreOS @ gluecon 2015
Automated Deployment with Fabric
Алексей Петров "Dockerize Me: Distributed PHP applications with Symfony, Dock...
Test driven infrastructure avec Docker
CoreOS in a Nutshell
Aloofix
Using Multi-stage Docker, Go, Java,& Bazel to DESTROY Long Build Times
Docker 初探,實驗室中的運貨鯨
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
Testing your-automation-code (vagrant version) v0.2
Comment Asciidoctor peut vous aider pour votre doc
Kubernetes in Google Cloud
時代在變 Docker 要會:台北 Docker 一日入門篇
Ad

Similar to Creating Cocoapods Library (20)

PPTX
Private pod support using cocoa pods in ios
PPTX
Create Your First Cocoa pods
PDF
Cocoapods Overview - library dependency manager for iOS
PPTX
CocoaPods.pptx
PDF
Cocoapods in action
PDF
CocoaPods Basic Usage
PDF
CocoaPods introduction
PDF
Using Cocoapods
PPTX
Cocoapods
PDF
RubyMotion Inspect Conference - 2013. (Without speaker notes.)
PDF
Cocoapods多人協做
PDF
Codemotion 2013 - presentación cocoa pods
PDF
Денис Лебедев-Управление зависимостями с помощью CocoaPods
ODP
Coocoo for Cocoapods
KEY
CocoaPods
PPTX
What is CocoaPods and how to setup?
PDF
CocoaHeads Rennes #13 : CocoaPods
PDF
Manage your external libraries with CocoaPods
PDF
Introduce cocoapods
PDF
How cocoapods can enhance your iOS development - Amir Hayek, Toluna
Private pod support using cocoa pods in ios
Create Your First Cocoa pods
Cocoapods Overview - library dependency manager for iOS
CocoaPods.pptx
Cocoapods in action
CocoaPods Basic Usage
CocoaPods introduction
Using Cocoapods
Cocoapods
RubyMotion Inspect Conference - 2013. (Without speaker notes.)
Cocoapods多人協做
Codemotion 2013 - presentación cocoa pods
Денис Лебедев-Управление зависимостями с помощью CocoaPods
Coocoo for Cocoapods
CocoaPods
What is CocoaPods and how to setup?
CocoaHeads Rennes #13 : CocoaPods
Manage your external libraries with CocoaPods
Introduce cocoapods
How cocoapods can enhance your iOS development - Amir Hayek, Toluna
Ad

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
PDF
PPT on Performance Review to get promotions
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Construction Project Organization Group 2.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Project quality management in manufacturing
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Geodesy 1.pptx...............................................
PPT on Performance Review to get promotions
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
UNIT 4 Total Quality Management .pptx
Sustainable Sites - Green Building Construction
Current and future trends in Computer Vision.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Construction Project Organization Group 2.pptx
bas. eng. economics group 4 presentation 1.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Safety Seminar civil to be ensured for safe working.
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
573137875-Attendance-Management-System-original
Foundation to blockchain - A guide to Blockchain Tech
Project quality management in manufacturing
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx

Creating Cocoapods Library