https://github.com/dimillian/swiftuikit
A package with the missing SwiftUI components
https://github.com/dimillian/swiftuikit
Last synced: 12 months ago
JSON representation
A package with the missing SwiftUI components
- Host: GitHub
- URL: https://github.com/dimillian/swiftuikit
- Owner: Dimillian
- License: apache-2.0
- Created: 2020-05-03T06:38:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T16:59:21.000Z (about 6 years ago)
- Last Synced: 2025-04-12T11:26:52.700Z (about 1 year ago)
- Language: Swift
- Size: 18.6 KB
- Stars: 22
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftUIKit, a package with the missing SwiftUI components
It's a work in progress package that I plan to use in my own SwiftUI applications.
The aim is to provide any component that is not buit in SwiftUI or that you find yourself customizing again and again in your application.
For now it provides only two new buttons style.
There is a library application, you can open the project in `SwiftUIKitSampleApp/`and build & run it.
## Buttons
* BorderedRoundedButton
* PlainRoundedButton
### Usage
```Swift
Button(action: { }) {
Text("Plain")
}.buttonStyle(PlainRoundedButton())
Button(action: { }) {
Text("Bordered")
}.buttonStyle(BorderedRoundedButton())
```
## Text
Coming soon