ResultsdescriptionCell.m 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // ResultsdescriptionCell.m
  3. // jitao
  4. //
  5. // Created by 罗云飞 on 2018/1/16.
  6. // Copyright © 2018年 罗云飞. All rights reserved.
  7. //
  8. #import "ResultsdescriptionCell.h"
  9. @implementation ResultsdescriptionCell
  10. - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
  11. self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
  12. if (self) {
  13. _textview = [[UITextView alloc] init];
  14. _textview.font = NewFont(fitScreenWidth(12));
  15. _textview.textColor = NewRGBColor(199, 199, 205, 1);
  16. _textview.backgroundColor = NewWhiteColor;
  17. _textview.text = @"请描述您的技术成果~";
  18. ViewBorderRadius(_textview, 5, 1, NewClearColor);
  19. [self.contentView addSubview:_textview];
  20. _textview.sd_layout
  21. .leftSpaceToView(self.contentView, 15)
  22. .rightSpaceToView(self.contentView, 15)
  23. .topSpaceToView(self.contentView, 10)
  24. .bottomSpaceToView(self.contentView, 10);
  25. }
  26. return self;
  27. }
  28. - (void)awakeFromNib {
  29. [super awakeFromNib];
  30. // Initialization code
  31. }
  32. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  33. [super setSelected:selected animated:animated];
  34. // Configure the view for the selected state
  35. }
  36. @end