35 lines
759 B
Objective-C
35 lines
759 B
Objective-C
//
|
|
// InfoViewNiChengCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/5/12.
|
|
// Copyright © 2016年 imac. All rights reserved.
|
|
//
|
|
|
|
#import "InfoViewNiChengCell.h"
|
|
|
|
@implementation InfoViewNiChengCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
self.backgroundView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"set_cellBack"]];
|
|
|
|
}
|
|
-(void)loadNiChengwith:(UserModel*)model{
|
|
|
|
if ([model.nickName isKindOfClass:[NSNull class]]) {
|
|
self.niChengField.text=@"";
|
|
}else{
|
|
self.niChengField.text=model.nickName;
|
|
}
|
|
|
|
}
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|