| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // ChengshuduCell.m
- // jitao
- //
- // Created by 罗云飞 on 2018/1/19.
- // Copyright © 2018年 罗云飞. All rights reserved.
- //
- #import "ChengshuduCell.h"
- @implementation ChengshuduCell
- - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
-
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
- _title = [UILabel new];
- _title.font = NewFont(fitScreenWidth(12));
- [_title setSingleLineAutoResizeWithMaxWidth:0];
- _title.text = @"成熟度";
- [self.contentView addSubview:_title];
- _title.sd_layout
- .leftSpaceToView(self.contentView, 15)
- .heightIs(30)
- .topSpaceToView(self.contentView, 10);
-
- }
- return self;
- }
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|