JXSelectLabelGroupCell.m 801 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // JXSelectLabelGroupCell.m
  3. // shiku_im
  4. //
  5. // Created by IMAC on 2019/8/29.
  6. // Copyright © 2019 Reese. All rights reserved.
  7. //
  8. #import "JXSelectLabelGroupCell.h"
  9. @implementation JXSelectLabelGroupCell
  10. - (void)layoutSubviews{
  11. [super layoutSubviews];
  12. CGRect rect = self.textLabel.frame;
  13. self.textLabel.frame = CGRectMake(60, rect.origin.y, rect.size.width, rect.size.height);
  14. CGRect detail = self.detailTextLabel.frame;
  15. self.detailTextLabel.frame = CGRectMake(60, detail.origin.y, detail.size.width, detail.size.height);
  16. }
  17. - (void)awakeFromNib {
  18. [super awakeFromNib];
  19. // Initialization code
  20. }
  21. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  22. [super setSelected:selected animated:animated];
  23. // Configure the view for the selected state
  24. }
  25. @end