Skip to content

Commit 53661d0

Browse files
authored
SPM installation guide added. (#79)
- Swift Package Manager installation guide has been written.
1 parent 543ad15 commit 53661d0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ use [Carthage](https://github.com/Carthage/Carthage) with Cartfile
4444
github "ChiliLabs/CHIPageControl" ~> 0.1.3
4545
```
4646

47+
### Swift Package Manager
48+
49+
The [Swift Package Manager](https://www.swift.org/package-manager/) is a tool for managing the distribution of Swift code.
50+
51+
Add the following to your `Package.swift` file:
52+
```
53+
dependencies: [
54+
.package(url: "https://github.com/ChiliLabs/CHIPageControl.git", .branch("master"))
55+
]
56+
```
57+
And then build your project
58+
```
59+
$ swift build
60+
```
4761

4862
## Usage
4963
### 🎨 Storyboards

0 commit comments

Comments
 (0)