RefreshTableHeaderView.h 466 B

1234567891011121314151617181920212223
  1. #import <UIKit/UIKit.h>
  2. #import <QuartzCore/QuartzCore.h>
  3. typedef enum{
  4. PullRefreshPulling = 0,
  5. PullRefreshNormal,
  6. PullRefreshLoading,
  7. } PullRefreshState;
  8. @interface RefreshTableHeaderView : UIView {
  9. UILabel *mTimeLabel;
  10. UILabel *mStatusLabel;
  11. CALayer *mStatusImage;
  12. UIActivityIndicatorView *mActView;
  13. PullRefreshState state;
  14. }
  15. @property(nonatomic,assign) PullRefreshState state;
  16. - (void)setCurrentDate;
  17. - (void)setState:(PullRefreshState)aState;
  18. @end