EMRefreshTableViewController.h 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // EMRefreshTableViewController.h
  3. // DXStudio
  4. //
  5. // Created by XieYajie on 18/08/2017.
  6. // Copyright © 2017 dxstudio. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. //带加载、刷新的Controller(包含UITableView)
  10. @interface EMRefreshTableViewController : UITableViewController
  11. {
  12. NSArray *_rightItems;
  13. }
  14. //导航栏右侧BarItem
  15. @property (strong, nonatomic) NSArray *rightItems;
  16. @property (strong, nonatomic) UIView *defaultFooterView;
  17. @property (strong, nonatomic) NSMutableArray *dataArray;
  18. @property (strong, nonatomic) NSMutableDictionary *dataDictionary;
  19. @property (nonatomic) int page;
  20. @property (nonatomic) BOOL showRefreshHeader;
  21. @property (nonatomic) BOOL showRefreshFooter;
  22. //- (void)setRefreshHeaderColor:(UIColor *)aColor;
  23. - (void)tableViewDidTriggerHeaderRefresh;
  24. - (void)tableViewDidTriggerFooterRefresh;
  25. - (void)tableViewDidFinishTriggerHeader:(BOOL)isHeader reload:(BOOL)reload;
  26. @end