FWRefreshPluginImpl


@interface FWRefreshPluginImpl : NSObject <FWRefreshPlugin>

默认刷新插件

  • 单例模式

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) FWRefreshPluginImpl *_Nonnull sharedInstance;
  • 下拉刷新自定义句柄,开启时自动调用

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWPullRefreshView *_Nonnull __strong) pullRefreshBlock;
  • 上拉追加自定义句柄,开启时自动调用

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWInfiniteScrollView *_Nonnull __strong) infiniteScrollBlock;