StarryStars alternatives and similar libraries
Based on the "Rating Stars" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of StarryStars or a related project?
StarryStars is iOS GUI library for displaying and editing ratings
RatingView is both
You can change any of the following properties right in the interface builder:
And see the result right away:
To add RatingView to your Storyboard/.xib file just drag a generic UIView from palette, then in "Custom Class" section of identity inspector set class to
cdto your project folder
touch Cartfile(if you don't have one yet)
github "peterprokop/StarryStars" == 2.0.0into Cartfile
- Save it:
ctrl-x, y, enter
- Copy framework from
Carthage/Build/iOSto your project
- Make sure that framework is added in Embedded Binaries section of your target (or else you will get dyld library not loaded referenced from ... reason image not found error)
import StarryStarson top of your view controller's code
Just clone and add
StarryStars directory to your project.
- Make sure that you use latest stable Cocoapods version:
- If not, update it:
sudo gem install cocoapods
pod initin you project root dir
nano Podfile, add:
pod 'StarryStars', '~> 2.0.0' use_frameworks!
- Save it:
- Open generated
- Don't forget to import StarryStars:
- iOS 10.0+
- Xcode 10.0+
- Swift 5.0 (for older versions, see
Usage from code
let rvRightToLeft = RatingView() rvRightToLeft.frame = view.bounds view.addSubview(rvRightToLeft) rvRightToLeft.editable = true rvRightToLeft.delegate = self // RatingView will respect setting this property rvRightToLeft.semanticContentAttribute = .forceRightToLeft
RatingView* rvRightToLeft = [[RatingView alloc] init]; rvRightToLeft.frame = self.view.bounds; [self.view addSubview:rvRightToLeft]; rvRightToLeft.editable = YES; rvRightToLeft.delegate = self; // RatingView will respect setting this property rvRightToLeft.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft;
SwiftOverlays - Swift GUI library for displaying various popups and notifications.