Skip to content

Commit 85c1842

Browse files
Improve readme (#387)
1 parent 749bbfb commit 85c1842

File tree

1 file changed

+36
-7
lines changed

1 file changed

+36
-7
lines changed

README.md

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,22 @@ Layout is a wrapper around the Apple platform Auto Layout SDK and provides a les
1616

1717
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.
1818

19-
## Minimum Requirements
19+
## Installation
20+
21+
### Swift Package Collection
2022

21-
- iOS `13.0`
22-
- Swift `5.8`
23+
<details><summary>Expand / Collapse</summary><br>
2324

24-
## Installation
25+
```
26+
https://swiftpackageindex.com/Tinder/collection.json
27+
```
28+
29+
</details>
2530

2631
### Swift Package Manager
2732

33+
<details><summary>Expand / Collapse</summary><br>
34+
2835
**Package Dependency**
2936

3037
> Replace `<version>` with the desired minimum version.
@@ -47,11 +54,33 @@ Snapshot Testing Extensions _(for test targets)_
4754
.product(name: "SnapshotTestingExtensions", package: "Layout")
4855
```
4956

50-
### Swift Package Collection
57+
</details>
58+
59+
### Xcode
60+
61+
<details><summary>Expand / Collapse</summary><br>
62+
63+
**Package Dependency**
5164

52-
```swift
53-
https://swiftpackageindex.com/Tinder/collection.json
5465
```
66+
https://github.com/Tinder/Layout.git
67+
```
68+
69+
**Target Dependencies**
70+
71+
Layout
72+
73+
```
74+
Layout
75+
```
76+
77+
Snapshot Testing Extensions _(for test targets)_
78+
79+
```
80+
SnapshotTestingExtensions
81+
```
82+
83+
</details>
5584

5685
## Usage
5786

0 commit comments

Comments
 (0)