Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Sep 9, 2022
1 parent 3e06e94 commit 7d38676
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
# WrapLayout

<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">

A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines.
Similar to flex-wrap in CSS, CollectionViewFlowLayout.

## Requirements

Swift 5.7+.
SwiftUI requires [`Layout`](https://developer.apple.com/documentation/swiftui/layout)

## Instructions

```swift
WrapLayout {
...
}
```

## Installation

Supports Swift Package Manager

## License

MIT license.

0 comments on commit 7d38676

Please sign in to comment.