Skip to content

luckyczh/DZStarView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DZStarView

星级评价控件

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    DZStarView *starView = [[DZStarView alloc] initWithMaxCount:5 value:4 canEvlaue:YES frame:CGRectMake(70, 100, 200, 100)];
    starView.delegate = self;
    [self.view addSubview:starView];
}

-(void)starView:(DZStarView *)starView didClick:(NSInteger)index{
    NSLog(@"等级 == %ld",index);
}

About

星级评价控件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published