25 lines
838 B
Objective-C
25 lines
838 B
Objective-C
//
|
|
// IfishDeviceControlNameBaseController.h
|
|
// Ifish
|
|
//
|
|
// Created by imac on 2017/6/13.
|
|
// Copyright © 2017年 lianlian. All rights reserved.
|
|
//
|
|
|
|
#import "BaseViewController.h"
|
|
#import "IfishDeviceInfo.h"
|
|
//修改设备名 及控制名 子类实现DataSource即可
|
|
|
|
typedef void (^deviceNameBlock)(NSString *);
|
|
@interface IfishDeviceControlNameBaseController : BaseViewController<UITableViewDelegate,UITableViewDataSource,UITextFieldDelegate>
|
|
|
|
@property (nonatomic,strong) UITableView *tableView;
|
|
@property (nonatomic,copy) NSString *name;
|
|
@property (nonatomic,copy) deviceNameBlock NameWithBlock ;
|
|
@property(nonatomic,strong) DeviceModel* device;
|
|
-(UITableViewCell*)baseViewLoadDeviceNameCell:(NSIndexPath *)indexPath intable:(UITableView *)tableView;
|
|
-(void)upLoadDeviceName;
|
|
//-(void)showGressView;
|
|
//-(void)hideGressView;
|
|
@end
|