InPutGongWenCell.m 871 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // InPutGongWenCell.m
  3. // smartRhino
  4. //
  5. // Created by tederen on 2019/11/2.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "InPutGongWenCell.h"
  9. @interface InPutGongWenCell()<UITextViewDelegate>
  10. @end
  11. @implementation InPutGongWenCell
  12. - (void)awakeFromNib {
  13. [super awakeFromNib];
  14. self.gongwenContent.placeholder = @"请输入";
  15. self.gongwenContent.placeholderColor = RGB(153, 153, 153);
  16. self.gongwenContent.font = [UIFont systemFontOfSize:16];
  17. self.bgL.font = [UIFont systemFontOfSize:16];
  18. }
  19. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  20. [super setSelected:selected animated:animated];
  21. }
  22. - (void)setFormFieldsModel:(FormFieldsModel *)formFieldsModel {
  23. _formFieldsModel = formFieldsModel;
  24. self.gongwenContent.text = _formFieldsModel.paramString;
  25. self.bgL.text = _formFieldsModel.paramString;
  26. }
  27. @end