SYBase_tbVC.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // SYBase_tbVC.h
  3. // LNManager
  4. //
  5. // Created by EchoShacolee on 2017/4/7.
  6. // Copyright © 2017年 lee. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "NetworkManager.h"
  10. #import <MBProgressHUD.h>
  11. #import "AppDelegate.h"
  12. #import "SYBaseCell.h"
  13. #import "SelectCell.h"
  14. typedef void(^Block)(NSDictionary * successdic);
  15. @interface SYBase_tbVC : UIViewController<UITableViewDataSource,UITableViewDelegate,UISearchResultsUpdating>
  16. {
  17. NSMutableArray *_dataSource;// 每行的内容
  18. NSMutableArray *_sectionTitles; // 每个分区的标题
  19. NSMutableDictionary *_requsetDic;//请求参数
  20. BlockTypeVo _block;//holderv(点击刷新)点击回调
  21. UISearchController *_searchController;
  22. NSMutableArray *_resultArray;//搜索结果(目前有@【dic】和@【dic,indexpath】2种元素数组,基类只使用了count值)
  23. BOOL _hasSearch;//是否展示的搜索结果
  24. }
  25. @property(nonatomic,retain)UITableView *tableView;
  26. @property(nonatomic,strong)HolderView * holderV;
  27. -(void)getDataWithDic:(NSMutableDictionary *)mdic method:(NSString *)method block:(Block)block;
  28. - (void)showMsgByAlertVCWithString:(NSString *)str;
  29. @end