Skip to content

Commit 21bcf2f

Browse files
Update README.md
1 parent d94c9e1 commit 21bcf2f

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
11
# SwiftUIDragMenu
2-
2+
3+
<p>
4+
Easily create dragabble menu <br>
5+
Note: 3 new views will add soon <br>
6+
This package will include four draggable menu views with animation
7+
</p>
8+
9+
## How to install this package
10+
11+
+ Open your project on Xcode
12+
+ Go to Project Tab and select "Package Dependencies"
13+
+ Click "+" and search this package with use git clone url
14+
+ Don't change anything and click Add Package
15+
+ The package will be attached to the targeted application
16+
17+
# LeftDragMenu
18+
19+
## How to use this package
20+
21+
```swift
22+
import SwiftUIDragMenu
23+
24+
struct DemoView: View {
25+
var body: some View {
26+
LeftDragableMenu {
27+
// Your main screenView
28+
} seconContent: {
29+
// Your dragmenuView
30+
}
31+
}
32+
}
33+
```
34+
35+
<img src="https://github.com/devmehmetates/SwiftUIDragMenu/blob/main/Sources/Resources/Ekran-Kayd%C4%B1-2021-11-15-17.08.22.gif">
36+
## Variables Usage
37+
38+
| Variable | Type | Recommend Usage |
39+
| -------- | ---- | --------------- |
40+
| content | View | Use with padding |
41+
| secondContent | View | Use with padding |
42+

0 commit comments

Comments
 (0)