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