UIScrollView(FWRefreshPlugin)
@interface UIScrollView (FWRefreshPlugin)
UIScrollView刷新插件分类
-
自定义刷新插件,未设置时自动从插件池加载
Declaration
Objective-C
@property (nonatomic, strong, nullable) id<FWRefreshPlugin> fw_refreshPlugin;
-
是否正在刷新中
Declaration
Objective-C
@property (nonatomic, readonly) BOOL fw_isRefreshing; -
是否显示刷新组件
Declaration
Objective-C
@property (nonatomic) BOOL fw_shouldRefreshing; -
配置下拉刷新句柄
Declaration
Objective-C
- (void)fw_setRefreshingBlock:(nonnull void (^)(void))block; -
配置下拉刷新事件
Declaration
Objective-C
- (void)fw_setRefreshingTarget:(nonnull id)target action:(nonnull SEL)action; -
开始下拉刷新
Declaration
Objective-C
- (void)fw_beginRefreshing; -
结束下拉刷新
Declaration
Objective-C
- (void)fw_endRefreshing;
-
是否正在追加中
Declaration
Objective-C
@property (nonatomic, readonly) BOOL fw_isLoading; -
是否显示追加组件
Declaration
Objective-C
@property (nonatomic) BOOL fw_shouldLoading; -
是否已加载完成,不能继续追加
Declaration
Objective-C
@property (nonatomic) BOOL fw_loadingFinished; -
配置上拉追加句柄
Declaration
Objective-C
- (void)fw_setLoadingBlock:(nonnull void (^)(void))block; -
配置上拉追加事件
Declaration
Objective-C
- (void)fw_setLoadingTarget:(nonnull id)target action:(nonnull SEL)action; -
开始上拉追加
Declaration
Objective-C
- (void)fw_beginLoading; -
结束上拉追加
Declaration
Objective-C
- (void)fw_endLoading;
UIScrollView(FWRefreshPlugin) Category Reference