CMCustomTableView.h 951 B

12345678910111213141516171819202122232425
  1. //
  2. // CMCustomTableView.h
  3. // PetPark
  4. //
  5. // Created by 陈民 on 2019/3/22.
  6. // Copyright © 2019 陈民. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "CustomRefreshGifHeader.h"
  10. #import <MJRefresh/MJRefresh.h>
  11. typedef void (^EndEditBlock) (void);
  12. @interface CMCustomTableView : UITableView
  13. @property(nonatomic,assign)BOOL forbidPreloading;//是否禁止预加载
  14. @property(nonatomic,assign)BOOL isTransparentSliding;//是否传递滑动
  15. @property(nonatomic,assign)NSInteger pageNumber;
  16. @property(nonatomic,assign)float deviationOffHeight;//占位图高度偏移
  17. @property(nonatomic,assign)CGSize imageSize;//展位图size
  18. @property(nonatomic, copy) EndEditBlock EndEditBlock;
  19. @property(nonatomic,strong)UIButton*backToTopButton;
  20. - (void)setPullDown :(void(^)(void))block;
  21. - (void)setPullUp :(void(^)(void))block;
  22. - (void)showPlaceHolderImage:(NSString*)imageName withWarn:(NSAttributedString*)warnAttriStr;
  23. - (void)hidePlaceHolder;
  24. @end