StarRating Save

星星评分,评分星星

Project README

StarRating

星星评分,评分星星

GitHub: https://github.com/Zws-China/StarRating

PhotoShoot

image

How To Use


#import "WSStarRatingView.h"


WSStarRatingView *starRatingView = [[WSStarRatingView alloc] initWithFrame:CGRectMake(30, 200, self.view.frame.size.width-60, 50) numberOfStar:5];
starRatingView.delegate = self;
[self.view addSubview:starRatingView];

//StarRatingViewDelegate
- (void)starRatingView:(WSStarRatingView *)view score:(float)score
{
    scoreLabel.text = [NSString stringWithFormat:@"%0.1f分",score * 5 ];

}


Open Source Agenda is not affiliated with "StarRating" Project. README Source: Zws-China/StarRating
Stars
31
Open Issues
0
Last Commit
5 years ago

Open Source Agenda Badge

Open Source Agenda Rating