diff --git a/README.md b/README.md index 64b6a081..e768dc13 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,9 @@ Code written with Layout leverages a high fidelity syntax, meaning it is easy to ## Installation -**Swift Package Manager Dependency** +### Swift Package Manager + +**Package Dependency** > Replace `` with the desired minimum version. @@ -33,6 +35,26 @@ Code written with Layout leverages a high fidelity syntax, meaning it is easy to .package(url: "https://github.com/Tinder/Layout.git", from: "") ``` +**Target Dependencies** + +Layout + +``` +"Layout" +``` + +Snapshot Testing Extensions _(for test targets)_ + +``` +.product(name: "SnapshotTestingExtensions", package: "Layout") +``` + +### Swift Package Collection + +```swift +https://swiftpackageindex.com/Tinder/collection.json +``` + ## Usage The following example demonstrates adding a label, an image view and a button as subviews of a view controller's view.