DACircularProgressView.h 1.0 KB

123456789101112131415161718192021222324
  1. //
  2. // DACircularProgressView.h
  3. // DACircularProgress
  4. //
  5. //
  6. #import <UIKit/UIKit.h>
  7. @interface DACircularProgressView : UIView<CAAnimationDelegate>
  8. @property(nonatomic, strong) UIColor *trackTintColor UI_APPEARANCE_SELECTOR;
  9. @property(nonatomic, strong) UIColor *progressTintColor UI_APPEARANCE_SELECTOR;
  10. @property(nonatomic) NSInteger roundedCorners UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  11. @property(nonatomic) CGFloat thicknessRatio UI_APPEARANCE_SELECTOR;
  12. @property(nonatomic) NSInteger clockwiseProgress UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  13. @property(nonatomic) CGFloat progress;
  14. @property(nonatomic) CGFloat indeterminateDuration UI_APPEARANCE_SELECTOR;
  15. @property(nonatomic) NSInteger indeterminate UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  16. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated;
  17. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated initialDelay:(CFTimeInterval)initialDelay;
  18. @end