Skip to content

ikajava/star-rating-view

 
 

Repository files navigation

iOS five-star rating control written in Swift

five star rating control for iOS written in Swift

Usage

  1. Copy .swift files under start-rating-view group into your project.
  2. Add View control into your storyboard. Set its class to TegStarRatingView.
  3. Add an outlet for this view in your view controller.
  4. Use show method to display rating:
ratingView.show(rating: 4, text: "(132)")

Customization

Customization can be made by changing settings properties. For example:

ratingView.settings.starColorFilled = UIColor.blackColor()
ratingView.settings.starFillMode = TegStarFillMode.Precise

Home

https://github.com/exchangegroup/star-rating-view

About

iOS 5-star raiting control written in Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%