Introducing SwiftNEWKit — Show “What’s New” Effortless
Designed for Apple Developers with SwiftUI.

Displaying “What’s New?” is easier than ever with #SwiftNEWKit
SwiftNEWKit is a new open-source Swift Package that provides an easy way for Apple Developers to show release notes to the end-users. It can achieve:
- Auto triggers the
.sheetfrom Version and/or Build increase. - One-line coding
- JSON compatible
- Versioning (2.0 or above)
- Local available
- Simple Binding
- Simple Model
- Remote loading (3.0 or above)
- Support Remote Drop Notification (3.5.0 or above)
Environment


Setup
- Navigate to the root project
- Select Project


3. Select Package Dependencies

4. Click + and paste https://github.com/1998code/SwiftNEWKit to the search box

5L. If you want to load the data on device, create a new file called data.json
Sample:
5R. If you want to load the data remotely, use https://…/{}.json to serve the data.
Usage
- Import it with
import SwiftNEW - Add States before var
bodyor anyview:

3. Then, add this code inside the body or any some View.
SwiftNEW(show: $showNew, align: $align, color: $color, size: $size, labelColor: $labelColor, label: $label, labelImage: $labelImage, history: $history, data: $data)4. Done, and you should see the same view as below:


To modify the content, you may edit the data.json file.

If you wish to modify the layout, simply refer to the State and option.

To learn more, please visit the GitHub repo:






