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