Skip to content

Commit

Permalink
Merge pull request CoderMJLee#405 from zdrzdr/master
Browse files Browse the repository at this point in the history
enum
  • Loading branch information
CoderMJLee committed Nov 17, 2015
2 parents fcb63ce + 51e4522 commit c67db52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MJRefresh/Base/MJRefreshComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#import "UIScrollView+MJRefresh.h"

/** 刷新控件的状态 */
typedef enum {
typedef NS_ENUM(NSInteger, MJRefreshState) {
/** 普通闲置状态 */
MJRefreshStateIdle = 1,
/** 松开就可以进行刷新的状态 */
Expand All @@ -25,7 +25,7 @@ typedef enum {
MJRefreshStateWillRefresh,
/** 所有数据加载完毕,没有更多的数据了 */
MJRefreshStateNoMoreData
} MJRefreshState;
};

/** 进入刷新状态的回调 */
typedef void (^MJRefreshComponentRefreshingBlock)();
Expand Down

0 comments on commit c67db52

Please sign in to comment.