From 52c856c287227e7a58c829436010b83807157682 Mon Sep 17 00:00:00 2001 From: Raghav Ahuja <22233632+ragzy15@users.noreply.github.com> Date: Sat, 18 Apr 2020 23:54:22 +0530 Subject: [PATCH] Update README.md --- README.md | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b83d6c..8982b88 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ let package = Package( targets: ["YourPackage"]), ], dependencies: [ - .package(url: "https://github.com/ragzy15/PublisherKit.git", from: "3.0.0"), + .package(url: "https://github.com/ragzy15/PublisherKit.git", from: "4.0.0"), ], targets: [ .target( @@ -63,6 +63,49 @@ let package = Package( You can install by using swift package manager built into Xcode or clone the repository and add a sub project into your project. +### CocoaPods + +[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. + +If you don't already have the Cocoapods gem installed, run the following command: + +```bash +$ gem install cocoapods +``` + +To integrate PublisherKit into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '10.0' +use_frameworks! + +pod 'PublisherKit', '~> 4.0.0' +``` + +Then, run the following command: + +```bash +$ pod install +``` + +### Carthage + +[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your application. + +You can install Carthage with [Homebrew](http://brew.sh/) using the following command: + +```bash +$ brew update +$ brew install carthage +``` + +To integrate PublisherKit into your Xcode project using Carthage, specify it in your `Cartfile`: + +```ogdl +github "ragzy15/PublisherKit" +``` + ## Usage ```swift