// // EvaListCell.m // LNManager // // Created by EchoShacolee on 2017/5/31. // Copyright © 2017年 lee. All rights reserved. // /* COACHNAME = "\U8096\U6c89\U4eae"; SCHOOLNAME = "\U6c88\U9633\U5e02\U516b\U68f5\U6811\U6c7d\U8f66\U9a7e\U9a76\U5458\U57f9\U8bad\U6709\U9650\U516c\U53f8"; SHORTNAME = "\U516b\U68f5\U6811\U9a7e\U6821"; SRVMANNER = "";srvmanner STAR = 5; SUBJECT = 2; TEACHLEVEL = "\U6960\U54e5\U5a01\U6b66"; TIME = "2017-04-21"; "TSO_NAME" = "\U6c5f\U6587\U6df3"; */ #import "EvaListCell.h" #import "NSString+ex.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