commit | author | age
|
892936
|
1 |
// 代码地址: https://github.com/CoderMJLee/MJRefresh |
H |
2 |
// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 |
|
3 |
// MJRefreshFooter.h |
|
4 |
// MJRefreshExample |
|
5 |
// |
|
6 |
// Created by MJ Lee on 15/3/5. |
|
7 |
// Copyright (c) 2015年 小码哥. All rights reserved. |
|
8 |
// 上拉刷新控件 |
|
9 |
|
|
10 |
#import "MJRefreshComponent.h" |
|
11 |
|
|
12 |
@interface MJRefreshFooter : MJRefreshComponent |
|
13 |
/** 创建footer */ |
|
14 |
+ (instancetype)footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; |
|
15 |
/** 创建footer */ |
|
16 |
+ (instancetype)footerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; |
|
17 |
|
|
18 |
/** 提示没有更多的数据 */ |
|
19 |
- (void)endRefreshingWithNoMoreData; |
|
20 |
- (void)noticeNoMoreData MJRefreshDeprecated("使用endRefreshingWithNoMoreData"); |
|
21 |
|
|
22 |
/** 重置没有更多的数据(消除没有更多数据的状态) */ |
|
23 |
- (void)resetNoMoreData; |
|
24 |
|
|
25 |
/** 忽略多少scrollView的contentInset的bottom */ |
|
26 |
@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetBottom; |
|
27 |
|
|
28 |
/** 自动根据有无数据来显示和隐藏(有数据就显示,没有数据隐藏) */ |
|
29 |
@property (assign, nonatomic, getter=isAutomaticallyHidden) BOOL automaticallyHidden; |
|
30 |
@end |