Skip to content

Commit

Permalink
Add additional installation information to readme (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-cfuller authored Jan 26, 2025
1 parent 784bbe3 commit 0f3b55c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,28 @@ func inserting(@Builder elements: () -> Self) -> Self

## Installation

**Swift Package Manager Dependency**
### Swift Package Manager

**Package Dependency**

> Replace `<version>` with the desired minimum version.
```swift
.package(url: "https://github.com/Tinder/CollectionBuilders.git", from: "<version>")
```

**Target Dependency**

```
"CollectionBuilders"
```

### Swift Package Collection

```swift
https://swiftpackageindex.com/Tinder/collection.json
```

## Supported Types

The `Array` and `Set` result builders may be used with any `Element` type.
Expand Down

0 comments on commit 0f3b55c

Please sign in to comment.