// // JLBubbleViewCell.m // shiku_im // // Created by JayLuo on 2020/4/7. // Copyright © 2020 Reese. All rights reserved. // #import "JLBubbleViewCell.h" @interface JLBubbleViewCell() @end @implementation JLBubbleViewCell @synthesize isBeSelected = _isBeSelected; - (void)awakeFromNib { [super awakeFromNib]; // Initialization code // self.titleLabel } - (BOOL)isBeSelected { return _isBeSelected; } - (void)setIsBeSelected:(BOOL)isBeSelected { _isBeSelected = isBeSelected; if (isBeSelected) { self.bgView.backgroundColor = THEMECOLOR; self.nameLabel.textColor = [UIColor whiteColor]; }else { self.bgView.backgroundColor = [UIColor whiteColor]; self.nameLabel.textColor = [UIColor blackColor]; } } @end