DACircularProgressView.h 883 B

123456789101112131415161718192021222324
  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) NSInteger roundedCorners UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  13. @property(nonatomic) CGFloat thicknessRatio UI_APPEARANCE_SELECTOR;
  14. @property(nonatomic) CGFloat progress;
  15. @property(nonatomic) CGFloat indeterminateDuration UI_APPEARANCE_SELECTOR;
  16. @property(nonatomic) NSInteger indeterminate UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
  17. - (void)setProgress:(CGFloat)progress animated:(BOOL)animated;
  18. @end