Rating view in objective C

Download HCSStarRatingView.h and HCSStarRatingView.m file Click here

Put HCSStarRatingView.h and HCSStarRatingView.m file in your project and take one UIView in your xib and set HCSStarRatingView as a class. Please see above attached image.

IBOutlet HCSStarRatingView *viewRating;

connect iboutlet to view

NSLog(@"%@", [NSString stringWithFormat:@"%f", viewRating.value]);

print rating value for use above line.