Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rryam/RRSettingsKit

A beautiful customizable settings screen created in SwiftUI
https://github.com/rryam/RRSettingsKit

ios13 swift swiftui swiftui-components swiftui-example swiftui-learning xcode11

Last synced: about 2 months ago
JSON representation

A beautiful customizable settings screen created in SwiftUI

Awesome Lists containing this project

README

        

![RRSettingsKit Logo](./RRSettingsKit.png?style=centerme)

A beautiful settings screen created in SwiftUI. It is based on my [Gradient Game!](https://apps.apple.com/app/id1479784361)

## Features
- \[x] Customisable
- \[x] iOS compatibility
- \[x] Landscape compatibility
- \[x] iPad compatibility
- \[x] Dark mode
- \[ ] Hover Effect for iPad
- \[ ] Mac compatibility

## Support
- iOS 15.0+ / macOS 10.15+ [soon]

## Usage

### SettingsRow

It takes the image, title and action as the parameter. You can customise it to your liking.

For example, this row is for writing a review, with a function in the closure.

```Swift
RRSettingsKit.SettingsRow(imageName: "pencil.and.outline", title: "Write a review") {
self.settingsViewModel.writeReview()
}
```

More documentation coming soon with Version 0.1.0

## Contribution

You are free to add more features to it, or refactor the code! I will be more than happy to accept PRs.

Contact - [Rudrank Riyam](https://twitter.com/rudrankriyam)