text: 
  
  #import <UIKit/UIKit.h>
  #import <QuartzCore/QuartzCore.h>
  
  @interface SBInstagramRefreshControl : UIControl {
      CAShapeLayer *_shapeLayer;
      CAShapeLayer *_arrowLayer;
      CAShapeLayer *_highlightLayer;
      UIView *_activity;
      BOOL _refreshing;
      BOOL _canRefresh;
      BOOL _ignoreInset;
      BOOL _ignoreOffset;
      BOOL _didSetInset;
      BOOL _hasSectionHeaders;
      CGFloat _lastOffset;
  }
  
  @property (nonatomic, readonly, getter=isRefreshing) BOOL refreshing;
  
  #ifdef __IPHONE_5_0
  @property (nonatomic, strong) UIColor *tintColor UI_APPEARANCE_SELECTOR;
  @property (nonatomic, assign) UIActivityIndicatorViewStyle activityIndicatorViewStyle UI_APPEARANCE_SELECTOR;
  @property (nonatomic, strong) UIColor *activityIndicatorViewColor UI_APPEARANCE_SELECTOR; // iOS5 or more
  #else
  @property (nonatomic, strong) UIColor *tintColor;
  @property (nonatomic, assign) UIActivityIndicatorViewStyle activityIndicatorViewStyle;
  @property (nonatomic, strong) UIColor *activityIndicatorViewColor; // iOS5 or more
  #endif
  
  - (id)initInScrollView:(UIScrollView *)scrollView;
  
  // use custom activity indicator
  - (id)initInScrollView:(UIScrollView *)scrollView activityIndicatorView:(UIView *)activity;
  
  // Tells the control that a refresh operation was started programmatically
  - (void)beginRefreshing;
  
  // Tells the control the refresh operation has ended
  - (void)endRefreshing;
  
  @end
  