ifish/Ifish/JHRefresh/JHRefreshViewDelegate.h

43 lines
744 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// JHRefreshViewDelegate.h
// JHRefresh
//
// Created by Jiahai on 14-9-15.
// Copyright (c) 2014年 Jiahai. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JHRefreshConfig.h"
@protocol JHRefreshViewDelegate <NSObject>
@required
/**
* 下拉时的动画
*/
- (void)refreshViewAniToBePulling;
/**
* 变成普通状态时的动画
*/
- (void)refreshViewAniToBeNormal;
/**
* 刷新开始
*/
- (void)refreshViewBeginRefreshing;
/**
* 刷新结束
*
* @param result 刷新结果
*/
- (void)refreshViewEndRefreshing:(JHRefreshResult)result;
@optional
/**
* 拖拽到对应的位置
*
* @param pos 位置范围1-JHRefreshViewHeight
*/
- (void)refreshViewPullingToPosition:(NSInteger)pos;
@end