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:
-
progress
property -
curve
property -
radius
property -
strokeWidth
property -
progressImage
property -
progressColor
property -
– setProgress:animated:
-
– setProgress:duration:
-
circleLayer
property -
fullCircleLayer
property -
baseGradientView
property -
progressGradientView
property
Properties
baseGradientView
The view that displays the image for a background image.
@property (nonatomic, strong) UIImageView *baseGradientView
Declared In
TKProgressRingView.h
circleLayer
The circle layer.
@property (nonatomic, strong) CAShapeLayer *circleLayer
Declared In
TKProgressRingView.h
curve
The progress of the circle.
@property (nonatomic, assign) TKProgressRingAnimationCurve curve
Declared In
TKProgressRingView.h
fullCircleLayer
The layer thats used to give the background a color.
@property (nonatomic, strong) CAShapeLayer *fullCircleLayer
Declared In
TKProgressRingView.h
progress
The progress of the circle.
@property (nonatomic, assign) CGFloat progress
Declared In
TKProgressRingView.h
progressColor
The progress color.
@property (nonatomic, strong) UIColor *progressColor
Declared In
TKProgressRingView.h
progressGradientView
The view that displays the image for a progress ring image.
@property (nonatomic, strong) UIImageView *progressGradientView
Declared In
TKProgressRingView.h
progressImage
The image used by the progress meter. Typically its a radial gradient image
@property (nonatomic, strong) UIImage *progressImage
Declared In
TKProgressRingView.h
Instance Methods
initWithFrame:radius:strokeWidth:
- (instancetype)initWithFrame:(CGRect)frame radius:(CGFloat)radius strokeWidth:(CGFloat)strokeWidth
Parameters
- 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