ifish/Ifish/controllers/IfishTabControllers/设备/IfishDeviceSelectList/FishSelectDeviceListViewCell.m

37 lines
861 B
Objective-C

//
// 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:@"select_camera"];
}else if (indexPath.row==1){
self.deviceImg.image = [UIImage imageNamed:@"select_aquarium"];
}else if (indexPath.row ==2){
self.deviceImg.image = [UIImage imageNamed:@"select_waiting"];
}
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end