12345678910111213141516171819202122232425 |
- //
- // CMCustomTableView.h
- // PetPark
- //
- // Created by 陈民 on 2019/3/22.
- // Copyright © 2019 陈民. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "CustomRefreshGifHeader.h"
- #import <MJRefresh/MJRefresh.h>
- typedef void (^EndEditBlock) (void);
- @interface CMCustomTableView : UITableView
- @property(nonatomic,assign)BOOL forbidPreloading;//是否禁止预加载
- @property(nonatomic,assign)BOOL isTransparentSliding;//是否传递滑动
- @property(nonatomic,assign)NSInteger pageNumber;
- @property(nonatomic,assign)float deviationOffHeight;//占位图高度偏移
- @property(nonatomic,assign)CGSize imageSize;//展位图size
- @property(nonatomic, copy) EndEditBlock EndEditBlock;
- @property(nonatomic,strong)UIButton*backToTopButton;
- - (void)setPullDown :(void(^)(void))block;
- - (void)setPullUp :(void(^)(void))block;
- - (void)showPlaceHolderImage:(NSString*)imageName withWarn:(NSAttributedString*)warnAttriStr;
- - (void)hidePlaceHolder;
- @end
|