mirror of
https://github.com/wu736139669/Ash_AWord.git
synced 2026-08-06 06:15:20 +00:00
26 lines
1008 B
Objective-C
26 lines
1008 B
Objective-C
//
|
|
// DACircularProgressView.h
|
|
// DACircularProgress
|
|
//
|
|
// Created by Daniel Amitay on 2/6/12.
|
|
// Copyright (c) 2012 Daniel Amitay. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface DACircularProgressView : UIView
|
|
|
|
@property(nonatomic, strong) UIColor *trackTintColor UI_APPEARANCE_SELECTOR;
|
|
@property(nonatomic, strong) UIColor *progressTintColor UI_APPEARANCE_SELECTOR;
|
|
@property(nonatomic) NSInteger roundedCorners UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
|
|
@property(nonatomic) CGFloat thicknessRatio UI_APPEARANCE_SELECTOR;
|
|
@property(nonatomic) NSInteger clockwiseProgress UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
|
|
@property(nonatomic) CGFloat progress;
|
|
|
|
@property(nonatomic) CGFloat indeterminateDuration UI_APPEARANCE_SELECTOR;
|
|
@property(nonatomic) NSInteger indeterminate UI_APPEARANCE_SELECTOR; // Can not use BOOL with UI_APPEARANCE_SELECTOR :-(
|
|
|
|
- (void)setProgress:(CGFloat)progress animated:(BOOL)animated;
|
|
|
|
@end
|