// // UIScrollView+LZRefresh.h // MEISHI // // Created by CY on 2021/1/25. // Copyright © 2021 leo. All rights reserved. // #import /** 刷新状态 */ typedef NS_ENUM(NSInteger,kRefreshStatus) { kRefreshNormal = 0, /**<没有刷新状态*/ kRefreshHeader, /**<下拉*/ kRefreshFooter, /**<上拉*/ kRefreshAll, /**<全部*/ }; NS_ASSUME_NONNULL_BEGIN @interface UIScrollView (LZRefresh) /** 根据刷新状态停止,配合MJRefresh使用 @param status 刷新状态 */ - (void)endRefreshing:(kRefreshStatus)status; /// 设置头刷新 - (void)setRefreshHeaderWithBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; /// 设置上拉加载更多 - (void)setRefreshFooter:(BOOL)hide withBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; @end NS_ASSUME_NONNULL_END