// // FishSelectDeviceListViewCell.m // Ifish // // Created by imac on 2017/5/5. // Copyright © 2017年 lianlian. All rights reserved. // #import "FishSelectDeviceListViewCell.h" @implementation FishSelectDeviceListViewCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } -(void)initCellImgsAt:(NSIndexPath *)indexPath { if (indexPath.row==0) { self.deviceImg.image = [UIImage imageNamed:@"摄像头"]; }else if (indexPath.row==1){ self.deviceImg.image = [UIImage imageNamed:@"水族控制系统"]; }else if (indexPath.row==2){ self.deviceImg.image = [UIImage imageNamed:@"加热系统"]; } else if (indexPath.row ==3){ self.deviceImg.image = [UIImage imageNamed:@"敬请期待"]; } } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } @end