RQTableViewController.h 997 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // RQTableViewController.h
  3. // RQCommon
  4. //
  5. // Created by 张嵘 on 2018/11/23.
  6. // Copyright © 2018 张嵘. All rights reserved.
  7. //
  8. #import "RQBaseViewController.h"
  9. #import "RQTableView.h"
  10. #import "RQTableViewModel.h"
  11. @interface RQTableViewController : RQBaseViewController <UITableViewDelegate , UITableViewDataSource>
  12. /// The table view for tableView controller.
  13. /// tableView
  14. @property (nonatomic, readonly, weak) RQTableView *tableView;
  15. /// `tableView` 的内容缩进,default is UIEdgeInsetsMake(64,0,0,0),you can override it
  16. @property (nonatomic, readonly, assign) UIEdgeInsets contentInset;
  17. /// reload tableView data , sub class can override
  18. - (void)reloadData;
  19. /// dequeueReusableCell
  20. - (UITableViewCell *)tableView:(UITableView *)tableView dequeueReusableCellWithIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath;
  21. /// configure cell data
  22. - (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath withObject:(id)object;
  23. @end