| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // ResultsdescriptionCell.m
- // jitao
- //
- // Created by 罗云飞 on 2018/1/16.
- // Copyright © 2018年 罗云飞. All rights reserved.
- //
- #import "ResultsdescriptionCell.h"
- @implementation ResultsdescriptionCell
- - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
-
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
- _textview = [[UITextView alloc] init];
- _textview.font = NewFont(fitScreenWidth(12));
- _textview.textColor = NewRGBColor(199, 199, 205, 1);
- _textview.backgroundColor = NewWhiteColor;
- _textview.text = @"请描述您的技术成果~";
- ViewBorderRadius(_textview, 5, 1, NewClearColor);
- [self.contentView addSubview:_textview];
-
- _textview.sd_layout
- .leftSpaceToView(self.contentView, 15)
- .rightSpaceToView(self.contentView, 15)
- .topSpaceToView(self.contentView, 10)
- .bottomSpaceToView(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
|