MyApprovalModel.m 675 B

123456789101112131415161718192021222324252627
  1. //
  2. // MyApprovalModel.m
  3. // smartRhino
  4. //
  5. // Created by tederen on 2019/11/1.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "MyApprovalModel.h"
  9. @implementation MyApprovalModel
  10. //- (CGFloat)getCellHeight {
  11. // UILabel *textLabel = [UILabel new];
  12. // textLabel.numberOfLines = 0;
  13. // textLabel.font = [UIFont systemFontOfSize:15.f];
  14. // textLabel.text = self.content;
  15. // CGSize textSize = [textLabel sizeThatFits:CGSizeMake(kGXScreenWidth-65-15, MAXFLOAT)];
  16. // CGFloat height = 65+textSize.height+15;
  17. // if (!ISEmptyString(self.replyName)&&!ISEmptyNumber(self.replyTimes)) {
  18. // height += 50;
  19. // }
  20. // return height;
  21. //}
  22. @end