Swiftpack.co -  giiiita/StarRateView as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
giiiita/StarRateView
StarRateView is a star rating library created in SwiftUI.
.package(url: "https://github.com/giiiita/StarRateView.git", from: "1.0.0")

StarRateView

StarRateView is a star rating library created in SwiftUI.

Platforms License: MIT

Usage

struct ContentView: View {
    @State var rate: Double = 2.5
    
    var body: some View {
        StarRateView(starCount: 5, rate: self.rate)
            .starSize(20)
            .starPadding(4.0)
            .forgroundStarColor(.yellow)
            .backgroundStarColor(.gray)
    }
}

Installation

StarRateView is available via Swift Package Manager. go to File -> Swift Packages -> Add Package Dependency and enter https://github.com/giiiita/StarRateView

GitHub

link
Stars: 0
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API