Skip to content

Commit c95c462

Browse files
authored
Merge pull request #36 from ragzy15/update/readme
Update README.md
2 parents fcc21f9 + 52c856c commit c95c462

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let package = Package(
5151
targets: ["YourPackage"]),
5252
],
5353
dependencies: [
54-
.package(url: "https://github.com/ragzy15/PublisherKit.git", from: "3.0.0"),
54+
.package(url: "https://github.com/ragzy15/PublisherKit.git", from: "4.0.0"),
5555
],
5656
targets: [
5757
.target(
@@ -63,6 +63,49 @@ let package = Package(
6363

6464
You can install by using swift package manager built into Xcode or clone the repository and add a sub project into your project.
6565

66+
### CocoaPods
67+
68+
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects.
69+
70+
If you don't already have the Cocoapods gem installed, run the following command:
71+
72+
```bash
73+
$ gem install cocoapods
74+
```
75+
76+
To integrate PublisherKit into your Xcode project using CocoaPods, specify it in your `Podfile`:
77+
78+
```ruby
79+
source 'https://github.com/CocoaPods/Specs.git'
80+
platform :ios, '10.0'
81+
use_frameworks!
82+
83+
pod 'PublisherKit', '~> 4.0.0'
84+
```
85+
86+
Then, run the following command:
87+
88+
```bash
89+
$ pod install
90+
```
91+
92+
### Carthage
93+
94+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your application.
95+
96+
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
97+
98+
```bash
99+
$ brew update
100+
$ brew install carthage
101+
```
102+
103+
To integrate PublisherKit into your Xcode project using Carthage, specify it in your `Cartfile`:
104+
105+
```ogdl
106+
github "ragzy15/PublisherKit"
107+
```
108+
66109
## Usage
67110

68111
```swift

0 commit comments

Comments
 (0)