Initial commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// SVPullToRefresh.h
|
||||
//
|
||||
// Created by Sam Vermette on 23.04.12.
|
||||
// Copyright (c) 2012 samvermette.com. All rights reserved.
|
||||
//
|
||||
// https://github.com/samvermette/SVPullToRefresh
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface SVPullToRefresh : UIView
|
||||
|
||||
@property (nonatomic, strong) UIColor *arrowColor;
|
||||
@property (nonatomic, strong) UIColor *textColor;
|
||||
@property (nonatomic, readwrite) UIActivityIndicatorViewStyle activityIndicatorViewStyle;
|
||||
@property (nonatomic, strong) NSDate *lastUpdatedDate;
|
||||
|
||||
- (void)triggerRefresh;
|
||||
- (void)stopAnimating;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
// extends UIScrollView
|
||||
|
||||
@interface UIScrollView (SVPullToRefresh)
|
||||
|
||||
- (void)addPullToRefreshWithActionHandler:(void (^)(void))actionHandler;
|
||||
|
||||
@property (nonatomic, strong) SVPullToRefresh *pullToRefreshView;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user