//  PullToRefresh.h

#import <UIKit/UIKit.h>

typedef void (^PullToRefreshAction)(UIRefreshControl *refreshControl);

@interface UIScrollView (PullToRefresh)

- (UIRefreshControl *)addPullToRefresh:(PullToRefreshAction)action;
- (void)endPullToRefresh;

@end
