From 5e3335b0641d164c107ddf22e10c88e8dc5660d8 Mon Sep 17 00:00:00 2001 From: Christopher Fuller Date: Fri, 20 Feb 2026 12:09:08 -0800 Subject: [PATCH] Improve readme --- README.md | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cb69cc4c..916069fa 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,22 @@ Layout is a wrapper around the Apple platform Auto Layout SDK and provides a les Code written with Layout leverages a high fidelity syntax, meaning it is easy to visualize the UI layout that the code represents. However, Layout does not limit the native Auto Layout capabilities in any way, which can readily be used along with the Layout API. In recent years, mobile platforms have seen the introduction of declarative UI frameworks such as SwiftUI and Jetpack Compose which realize significantly reduced learning curves. While not a declarative framework, Layout utilizes a similar declarative style, in this case for the UIKit framework. -## Minimum Requirements +## Installation + +### Swift Package Collection -- iOS `13.0` -- Swift `5.8` +
Expand / Collapse
-## Installation +``` +https://swiftpackageindex.com/Tinder/collection.json +``` + +
### Swift Package Manager +
Expand / Collapse
+ **Package Dependency** > Replace `` with the desired minimum version. @@ -47,11 +54,33 @@ Snapshot Testing Extensions _(for test targets)_ .product(name: "SnapshotTestingExtensions", package: "Layout") ``` -### Swift Package Collection +
+ +### Xcode + +
Expand / Collapse
+ +**Package Dependency** -```swift -https://swiftpackageindex.com/Tinder/collection.json ``` +https://github.com/Tinder/Layout.git +``` + +**Target Dependencies** + +Layout + +``` +Layout +``` + +Snapshot Testing Extensions _(for test targets)_ + +``` +SnapshotTestingExtensions +``` + +
## Usage