ifish/Ifish/controllers/IfishTabControllers/我的/mineViews/infoViewCell/InfoQianMingCell.m

34 lines
804 B
Objective-C

//
// InfoQianMingCell.m
// Ifish
//
// Created by imac on 16/5/12.
// Copyright © 2016年 imac. All rights reserved.
//
#import "InfoQianMingCell.h"
#import "UserModel.h"
@implementation InfoQianMingCell
- (void)awakeFromNib {
[super awakeFromNib];
self.backgroundView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"set_cellBack_double"]];
// Initialization code
}
-(void)loadQianmingWith:(UserModel*)model{
if ([model.signature isKindOfClass:[NSNull class]]) {
self.infoQianMingView.text=@"";
}else{
self.infoQianMingView.text=model.signature;
}
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end