Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user