11
This commit is contained in:
34
ShenQi/NotiCenterContentTableViewCell.m
Normal file
34
ShenQi/NotiCenterContentTableViewCell.m
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// NotiCenterContentTableViewCell.m
|
||||
// ShenQi
|
||||
//
|
||||
// Created by twotutoo on 2025/1/11.
|
||||
//
|
||||
|
||||
#import "NotiCenterContentTableViewCell.h"
|
||||
|
||||
#import "MacroDefine.h"
|
||||
|
||||
@implementation NotiCenterContentTableViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
|
||||
[self setSelectionStyle:(UITableViewCellSelectionStyleNone)];
|
||||
self.contentView.backgroundColor = UIColorFromRGB(0xFAFAFA);
|
||||
}
|
||||
|
||||
-(void)setList:(PushRecordList *)list
|
||||
{
|
||||
_list = list;
|
||||
|
||||
self.contentLabel.text = self.list.content;
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user