Skip to content

Commit 7d38676

Browse files
authored
Update README.md
1 parent 3e06e94 commit 7d38676

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
11
# WrapLayout
2+
3+
<img width="343" alt="CleanShot 2022-09-10 at 00 45 09@2x" src="https://user-images.githubusercontent.com/1888355/189389782-a1657d5b-0ef7-4809-a1a0-5d6978e791b5.png">
4+
5+
A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines.
6+
Similar to flex-wrap in CSS, CollectionViewFlowLayout.
7+
8+
## Requirements
9+
10+
Swift 5.7+.
11+
SwiftUI requires [`Layout`](https://developer.apple.com/documentation/swiftui/layout)
12+
13+
## Instructions
14+
15+
```swift
16+
WrapLayout {
17+
...
18+
}
19+
```
20+
21+
## Installation
22+
23+
Supports Swift Package Manager
24+
25+
## License
26+
27+
MIT license.

0 commit comments

Comments
 (0)