TKProgressRingView Class Reference
| Inherits from | UIView |
| Declared in | TKProgressRingView.h TKProgressRingView.m |
Overview
TKProgressRingView is a view designed to animate a progress similiar to that in that in the Activity app.
Tasks
-
– initWithFrame:radius:strokeWidth: -
progressproperty -
curveproperty -
radiusproperty -
strokeWidthproperty -
progressImageproperty -
progressColorproperty -
– setProgress:animated: -
– setProgress:duration: -
circleLayerproperty -
fullCircleLayerproperty -
baseGradientViewproperty -
progressGradientViewproperty
Properties
baseGradientView
The view that displays the image for a background image.
@property (nonatomic, strong) UIImageView *baseGradientViewDeclared In
TKProgressRingView.hcircleLayer
The circle layer.
@property (nonatomic, strong) CAShapeLayer *circleLayerDeclared In
TKProgressRingView.hcurve
The progress of the circle.
@property (nonatomic, assign) TKProgressRingAnimationCurve curveDeclared In
TKProgressRingView.hfullCircleLayer
The layer thats used to give the background a color.
@property (nonatomic, strong) CAShapeLayer *fullCircleLayerDeclared In
TKProgressRingView.hprogress
The progress of the circle.
@property (nonatomic, assign) CGFloat progressDeclared In
TKProgressRingView.hprogressColor
The progress color.
@property (nonatomic, strong) UIColor *progressColorDeclared In
TKProgressRingView.hprogressGradientView
The view that displays the image for a progress ring image.
@property (nonatomic, strong) UIImageView *progressGradientViewDeclared In
TKProgressRingView.hprogressImage
The image used by the progress meter. Typically its a radial gradient image
@property (nonatomic, strong) UIImage *progressImageDeclared In
TKProgressRingView.hInstance Methods
initWithFrame:radius:strokeWidth:
- (instancetype)initWithFrame:(CGRect)frame radius:(CGFloat)radius strokeWidth:(CGFloat)strokeWidthParameters
- frame
The frame of the rectangle.
- radius
The radius for the the ring.
- strokeWidth
The width of the ring.
Return Value
An instance of the progress ring or nil.
Declared In
TKProgressRingView.h