RefreshBaseViewController.m 995 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // RefreshBaseViewController.m
  3. // smartRhino
  4. //
  5. // Created by Android on 2019/12/20.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "RefreshBaseViewController.h"
  9. @interface RefreshBaseViewController ()
  10. @end
  11. @implementation RefreshBaseViewController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. WEAKSELF
  15. self.infoTabView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
  16. [weakSelf reloadData];
  17. }];
  18. // self.infoTabView.mj_footer = [MJRefreshBackStateFooter footerWithRefreshingBlock:^{
  19. // [weakSelf reloadMore];
  20. // }];
  21. }
  22. - (void)reloadData {
  23. }
  24. - (void)reloadMore {
  25. }
  26. /*
  27. #pragma mark - Navigation
  28. // In a storyboard-based application, you will often want to do a little preparation before navigation
  29. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  30. // Get the new view controller using [segue destinationViewController].
  31. // Pass the selected object to the new view controller.
  32. }
  33. */
  34. @end