Files
yuyin_ios/SweetParty/常用工具/刷新封装/UIScrollView+MJRefreshEX.h

44 lines
876 B
C
Raw Normal View History

2025-08-08 11:05:33 +08:00
//
// UIScrollView+MJRefreshEX.h
// MJRefreshEX
//
// Created by Destiny on 2018/5/16.
// Copyright © 2018年 Destiny. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIScrollView (MJRefreshEX)
/**
@param beginRefresh
@param animation
@param refreshBlock
*/
- (void)addHeaderWithHeaderWithBeginRefresh:(BOOL)beginRefresh animation:(BOOL)animation refreshBlock:(void(^)(NSInteger pageIndex))refreshBlock;
/**
@param automaticallyRefresh
@param loadMoreBlock
*/
- (void)addFooterWithWithHeaderWithAutomaticallyRefresh:(BOOL)automaticallyRefresh loadMoreBlock:(void(^)(NSInteger pageIndex))loadMoreBlock;
/**
*/
- (void)endFooterRefresh;
/**
*/
- (void)endFooterNoMoreData;
@end