YOUPAILZMusicLyricCell.m 947 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // YOUPAILZMusicLyricCell.m
  3. // VQU
  4. //
  5. // Created by CY on 2021/6/26.
  6. // Copyright © 2021 leo. All rights reserved.
  7. //
  8. #import "YOUPAILZMusicLyricCell.h"
  9. @implementation YOUPAILZMusicLyricCell
  10. - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
  11. if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
  12. self.backgroundColor = [UIColor clearColor];
  13. self.selectionStyle = UITableViewCellSelectionStyleNone;
  14. [self youpaifinitUI];
  15. }
  16. return self;
  17. }
  18. - (void)youpaifinitUI{
  19. UILabel *youpaiptextL = [[UILabel alloc] init];
  20. youpaiptextL.textColor = [UIColor whiteColor];
  21. youpaiptextL.font = LCFont14;
  22. [self.contentView addSubview:youpaiptextL];
  23. self.youpaiptextL = youpaiptextL;
  24. [youpaiptextL mas_makeConstraints:^(MASConstraintMaker *make) {
  25. make.left.right.top.bottom.offset(0.0f);
  26. }];
  27. }
  28. @end