// // EvaListCell.m // LN_School // // Created by EchoShacolee on 2017/6/15. // Copyright © 2017年 Danson. All rights reserved. // #import "EvaListCell.h" #import "RatingBar.h" @interface EvaListCell() { UILabel *_coach; UILabel *_school; UILabel *_srvmanner; UILabel *_star; UILabel *_subject; UILabel *_teachLevel; UILabel *_student; UILabel *_time; UIView *_view; RatingBar *_starBar; UIView * _srvmannerView; } @end @implementation EvaListCell +(EvaListCell *)cellForTabelView:(UITableView *)tableView{ EvaListCell* cell = [tableView dequeueReusableCellWithIdentifier:@"EvaListCell"]; if (!cell) { cell = [[EvaListCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"EvaListCell"]; } return cell; } - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) { self.selectionStyle = UITableViewCellSelectionStyleNone; NSArray * textArr = @[@"教练名字",@"机构名字",@"srvmanner",@"星级",@"科目",@"评价内容",@"时间",@"学员"]; NSMutableArray * labArr = [NSMutableArray new]; // for (int i=0; i