Skip to content

Commit e65eeaa

Browse files
authored
Update README.md
1 parent 7fffbc0 commit e65eeaa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Provide an easy way for Apple Developers to Show "What's New" to the end users.
1818
- Open Source for all developers
1919
- Support Remote JSON File (3.0.0 or above)
2020
- Support Firebase Real Time Database (3.0.0 or above)
21+
- Support Remote Drop Notification (3.5.0 or above)
2122

2223
## Version
2324
![GitHub release (latest by date)](https://img.shields.io/github/v/release/1998code/SwiftNEWKit?color=g&label=STABLE&style=for-the-badge)
@@ -39,7 +40,7 @@ Xcode | 13.4 (13F17a)
3940
macOS | 12.3.1 (21E258)
4041

4142
## Guide
42-
[English](https://github.com/1998code/SwiftNEWKit) | [中文](https://github.com/1998code/SwiftNEWKit/blob/main/doc/README_zh.md) | Feel free to add new language(s) via `pull requests`
43+
[English](https://github.com/1998code/SwiftNEWKit) | [中文(Outdated)](https://github.com/1998code/SwiftNEWKit/blob/main/doc/README_zh.md) | Feel free to add/update new language(s) via `pull requests`
4344

4445
## Get Started
4546
### Full Tutorial: https://bit.ly/3NOvJB8
@@ -61,7 +62,7 @@ import SwiftNEW
6162
```
6263
2. Then, paste this code inside `body` or any `some View`.
6364
```swift
64-
SwiftNEW(show: $showNew, align: $align, color: $color, size: $size, labelColor: $labelColor, label: $label, labelImage: $labelImage, history: $history, data: $data)
65+
SwiftNEW(show: $showNew, align: $align, color: $color, size: $size, labelColor: $labelColor, label: $label, labelImage: $labelImage, history: $history, data: $data, showDrop: $showDrop)
6566
```
6667

6768
### State
@@ -76,6 +77,7 @@ label | "Show Release Note" | All Strings |
7677
labelImage | "arrow.up.circle.fill" | All SF Symbols | String
7778
history | true | true, false | Bool
7879
data | "data" or "https://.../{}.json" | "{LOCAL_JSON_FILE}" or Remote | String
80+
showDrop | false | false, true | Bool
7981

8082
##### Samples:
8183
```swift
@@ -88,6 +90,7 @@ data | "data" or "https://.../{}.json" | "{LOCAL_JSON_FILE}" or Remote |
8890
@State var labelImage: String = "arrow.up.circle.fill"
8991
@State var history: Bool = true
9092
@State var data: String = "data"
93+
@State var showDrop: Bool = false
9194
```
9295

9396
### JSON

0 commit comments

Comments
 (0)