Skip to content

Commit e27d5d2

Browse files
committed
Add installation instructions
1 parent 8cac6a8 commit e27d5d2

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,40 @@ Herokai → Herokai
8282
*/
8383
```
8484
85+
## Installation
86+
87+
### Swift Package Manager
88+
89+
Add the InflectorKit package to your target dependencies in `Package.swift`:
90+
91+
```swift
92+
import PackageDescription
93+
94+
let package = Package(
95+
name: "YourProject",
96+
dependencies: [
97+
.package(
98+
url: "https://github.com/mattt/InflectorKit",
99+
from: "0.0.1"
100+
),
101+
]
102+
)
103+
```
104+
105+
Then run the `swift build` command to build your project.
106+
107+
### CocoaPods
108+
109+
You can install `InflectorKit` via CocoaPods,
110+
by adding the following line to your `Podfile`:
111+
112+
```ruby
113+
pod 'InflectorKit', '~> 0.0.1'
114+
```
115+
116+
Run the `pod install` command to download the library
117+
and integrate it into your Xcode project.
118+
85119
## License
86120

87121
MIT

0 commit comments

Comments
 (0)