BDFaceAdjustParamsRootController.h
1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// BDFaceAdjustParamsRootController.h
// FaceSDKSample_IOS
//
// Created by Zhang,Jian(MBD) on 2020/12/1.
// Copyright © 2020 Baidu. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
@class: BDFaceAdjustParamsRootController
@description UITableViewDelegate协议方法需要子类实现,dataSource不需要子类实现
*/
@interface BDFaceAdjustParamsRootController : UIViewController <UITableViewDelegate>
@property(nonatomic, strong, readonly) UILabel *titleLabel;
@property(nonatomic, strong) UITableView *tableView;
@property(nonatomic, strong) UIView *titleView;
#pragma mark 需要在子类ViewDidLoad里调用该方法
- (void)loadTableWithCellClass:(Class)cellClass
reuseLabel:(NSString *)reuseLabel
dataSourceArray:(NSMutableArray *)array;
// controller 设置cell内容,第一次加载完成
- (void)updateCellContent:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath;
/// 定义表格样式,默认plain,子类可以覆盖
- (UITableViewStyle)customTableViewStyle;
/// 返回操作,子类需要覆盖
- (void)goBack;
@end
NS_ASSUME_NONNULL_END