Skip to content

Commit 61d6ded

Browse files
Luc DionLuc Dion
authored andcommitted
Add Swift Package Manager support
1 parent ab23f42 commit 61d6ded

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Xcode
22
#
33

4+
.build/
45
build/
56
DerivedData/
67
Pods/

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ github "mirego/PinLayout"
9393

9494
Then, run `carthage update` to build the framework and drag the built `PinLayout.framework` into your Xcode project.
9595

96+
### Swift Package Manager
97+
98+
Once you have your Swift package set up, you only need to add PinLayout as a dependency of your `Package.swift`.
99+
100+
```ogdl
101+
dependencies: [
102+
.Package(url: "https://github.com/mirego/PinLayout.git", majorVersion: 1)
103+
]
104+
```
105+
96106
<br>
97107

98108
# Usage sample

0 commit comments

Comments
 (0)