Skip to content

Commit

Permalink
add remark
Browse files Browse the repository at this point in the history
  • Loading branch information
ydj committed Jun 29, 2015
1 parent d412369 commit 7c0a6e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions DJRefresh/DJRefresh.h
Expand Up @@ -45,6 +45,14 @@ typedef enum {
} DJRefreshDirection;

@class DJRefresh;

/**
* 刷新回调Block
*
* @param refresh 刷新组件对象
* @param direction 方向
* @param info 预留参数
*/
typedef void(^DJRefreshCompletionBlock)(DJRefresh * refresh,DJRefreshDirection direction,NSDictionary *info);

@protocol DJRefreshDelegate;
Expand All @@ -57,9 +65,9 @@ typedef void(^DJRefreshCompletionBlock)(DJRefresh * refresh,DJRefreshDirection d

/**当前的状态*/
@property (nonatomic,assign,readonly)DJRefreshingDirections refreshingDirection;

/**当前监控的scrollView*/
@property (nonatomic,readonly)UIScrollView * scrollView;

/**代理回调对象*/
@property (nonatomic,weak)id<DJRefreshDelegate>delegate;

+ (instancetype)refreshWithScrollView:(UIScrollView *)scrollView;
Expand Down Expand Up @@ -97,7 +105,7 @@ typedef void(^DJRefreshCompletionBlock)(DJRefresh * refresh,DJRefreshDirection d
*/
@property (nonatomic,assign)BOOL isDisableAddTop;
/**
* 是否禁止添加bottomViewDaoScrollView上,默认是否
* 是否禁止添加bottomView到ScrollView上,默认是否
*/
@property (nonatomic,assign)BOOL isDisableAddBottom;

Expand Down
2 changes: 1 addition & 1 deletion DJRefresh/DJRefreshView/DJRefreshView.h
Expand Up @@ -33,7 +33,7 @@ typedef NS_ENUM(NSInteger, DJRefreshViewType){
*/
DJRefreshViewTypeDefine=0,
/**
* 可以刷新
* 可以刷新状态
*/
DJRefreshViewTypeCanRefresh,
/**
Expand Down

0 comments on commit 7c0a6e4

Please sign in to comment.