From 0f3b55cbf7a7acc15e018ec493415e17f943a5e0 Mon Sep 17 00:00:00 2001 From: Christopher Fuller Date: Sun, 26 Jan 2025 10:26:17 -0800 Subject: [PATCH] Add additional installation information to readme (#12) --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ef26ef..b97ac7a 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,9 @@ func inserting(@Builder elements: () -> Self) -> Self ## Installation -**Swift Package Manager Dependency** +### Swift Package Manager + +**Package Dependency** > Replace `` with the desired minimum version. @@ -69,6 +71,18 @@ func inserting(@Builder elements: () -> Self) -> Self .package(url: "https://github.com/Tinder/CollectionBuilders.git", from: "") ``` +**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.