DACircularProgressView.h 1.3 KB

12345678910111213141516171819202122232425262728
  1. //
  2. // DACircularProgressView.h
  3. // DACircularProgress
  4. //
  5. // Created by Daniel Amitay on 2/6/12.
  6. // Copyright (c) 2012 Daniel Amitay. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface DACircularProgressView : UIView
  10. @property(nonatomic, strong) UIColor *trackTintColor UI_APPEARANCE_SELECTOR;
  11. @property(nonatomic, strong) UIColor *progressTintColor UI_APPEARANCE_SELECTOR;
  12. @property(nonatomic, strong) UIColor *innerTintColor UI_APPEARANCE_SELECTOR;
  13. @property(nonatomic) NSInteger roundedCorners UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  14. @property(nonatomic) CGFloat thicknessRatio UI_APPEARANCE_SELECTOR;
  15. @property(nonatomic) NSInteger clockwiseProgress UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  16. @property(nonatomic) CGFloat progress;
  17. @property(nonatomic) CGFloat indeterminateDuration UI_APPEARANCE_SELECTOR;
  18. @property(nonatomic) NSInteger indeterminate UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  19. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated;
  20. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated initialDelay:(CFTimeInterval)initialDelay;
  21. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated initialDelay:(CFTimeInterval)initialDelay withDuration:(CFTimeInterval)duration;
  22. @end