43 lines
963 B
Objective-C
43 lines
963 B
Objective-C
//
|
|
// MAssaageCenterCell.m
|
|
// GIGA
|
|
//
|
|
// Created by lianxiang on 2018/8/23.
|
|
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
|
//
|
|
|
|
#import "MAssaageCenterCell.h"
|
|
|
|
@implementation MAssaageCenterCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
self.messageCountLabel.layer.masksToBounds = YES;
|
|
self.messageCountLabel.layer.cornerRadius = self.messageCountLabel.frame.size.height / 2;
|
|
|
|
}
|
|
|
|
-(void)loadCellDataAtIndex:(NSIndexPath *)indexPath{
|
|
|
|
if (indexPath.section == 0) {
|
|
self.mesageTypeLabel.text = @"活动消息";
|
|
|
|
}else if (indexPath.section ==1){
|
|
|
|
self.mesageTypeLabel.text = @"服务消息";
|
|
}else{
|
|
|
|
self.mesageTypeLabel.text = @"系统消息";
|
|
|
|
}
|
|
|
|
}
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|