GiGaMaskTime/GIGA/Modules/Me/View/GiGaSettingsViewCell.m

37 lines
845 B
Objective-C

//
// GiGaSettingsViewCell.m
// GIGA
//
// Created by lianxiang on 2018/9/3.
// Copyright © 2018年 com.giga.ios. All rights reserved.
//
#import "GiGaSettingsViewCell.h"
@implementation GiGaSettingsViewCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
-(void)loadCellDataAt:(NSIndexPath *)indexPath{
NSArray *listArr =@[@"清除缓存",@"意见反馈",@"关于我们",@"版本说明"];
if(indexPath.row == 0){
self.cachLabe.hidden = NO;
int M = arc4random() % 5;
self.cachLabe.text = [NSString stringWithFormat:@"%dM",M];
}
self.descLabel.text = listArr[indexPath.row];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end