Skip to content

rryam/RRSettingsKit

Repository files navigation

RRSettingsKit Logo

A beautiful settings screen created in SwiftUI. It is based on my Gradient Game!

Features

  • Customisable
  • iOS compatibility
  • Landscape compatibility
  • iPad compatibility
  • 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.

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