BDFaceAdjustParamsRootController.h 1.1 KB

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