We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcb63ce + 51e4522 commit c67db52Copy full SHA for c67db52
MJRefresh/Base/MJRefreshComponent.h
@@ -14,7 +14,7 @@
14
#import "UIScrollView+MJRefresh.h"
15
16
/** 刷新控件的状态 */
17
-typedef enum {
+typedef NS_ENUM(NSInteger, MJRefreshState) {
18
/** 普通闲置状态 */
19
MJRefreshStateIdle = 1,
20
/** 松开就可以进行刷新的状态 */
@@ -25,7 +25,7 @@ typedef enum {
25
MJRefreshStateWillRefresh,
26
/** 所有数据加载完毕,没有更多的数据了 */
27
MJRefreshStateNoMoreData
28
-} MJRefreshState;
+};
29
30
/** 进入刷新状态的回调 */
31
typedef void (^MJRefreshComponentRefreshingBlock)();
0 commit comments