Is there any controls available for star rating in ios ? So i can use that in UITableviewCell ??
I know there are some open open source controls like DYRating etc.. But iam not able to add it in tableview cell .
Is there any controls available for star rating in ios ? So i can use that in UITableviewCell ??
I know there are some open open source controls like DYRating etc.. But iam not able to add it in tableview cell .
Swift3
https://github.com/marketplacer/Cosmos
install pod
target 'TargetName' do
pod 'Cosmos'
Install pod file with this command
pod install
Put a simple UIView in your storyboard and give the class name as
CosmosView
and Module nameCosmos
HERE YOU CAN ACCESS THE ATTRIBUTES
Yeah there are many libraries which you can use to make such controls like cosmos Cosmos library for rating control
if you want something like that looks like rating graph (like the one in image)then you can see this repo in github Rating graph view in iOS
You can check following controls from Cocoacontrols.
https://www.cocoacontrols.com/controls/star-rating-view
https://www.cocoacontrols.com/controls/scrratingview
https://www.cocoacontrols.com/controls/amratingcontrol
Use https://github.com/hugocampossousa/HCSStarRatingView. it easy to implement this. just write down these lines of code. Create IBOutlet HCSStarRatingView for in .h file an create one string for storing the rating value.
in .m file write down these lines
Use https://github.com/shantaramk/RatingView.
It effortless to implement this. just follow below steps:
Set Star View IBOutlet
Prepare Star Rate View
Adopt Rate View Delegate
I recommend HCSStarRatingView. It is native-looking and it also supports
IB_DESIGNABLE
andIBInspectable
.