LDProgressView.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // LDProgressView.h
  3. // LDProgressView
  4. //
  5. // Created by Christian Di Lorenzo on 9/27/13.
  6. // Copyright (c) 2013 Light Design. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef enum {
  10. LDProgressStripes,
  11. LDProgressGradient,
  12. LDProgressSolid
  13. } LDProgressType;
  14. @interface LDProgressView : UIView
  15. @property (nonatomic) CGFloat progress;
  16. @property (nonatomic) CGFloat labelProgress;
  17. @property (nonatomic, strong) UIColor *color UI_APPEARANCE_SELECTOR;
  18. @property (nonatomic, strong) UIColor *background UI_APPEARANCE_SELECTOR;
  19. @property (nonatomic, strong) NSNumber *flat UI_APPEARANCE_SELECTOR;
  20. @property (nonatomic, strong) NSNumber *animate UI_APPEARANCE_SELECTOR;
  21. @property (nonatomic, strong) NSNumber *showStroke UI_APPEARANCE_SELECTOR;
  22. @property (nonatomic, strong) NSNumber *showText UI_APPEARANCE_SELECTOR;
  23. @property (nonatomic, strong) NSNumber *showBackground UI_APPEARANCE_SELECTOR;
  24. @property (nonatomic, strong) NSNumber *showBackgroundInnerShadow UI_APPEARANCE_SELECTOR;
  25. @property (nonatomic, strong) NSNumber *outerStrokeWidth UI_APPEARANCE_SELECTOR;
  26. @property (nonatomic, strong) NSNumber *progressInset UI_APPEARANCE_SELECTOR;
  27. @property (nonatomic, strong) NSNumber *borderRadius UI_APPEARANCE_SELECTOR;
  28. @property (nonatomic) LDProgressType type;
  29. - (void)overrideProgressText:(NSString *)progressText;
  30. @end