Skip to content

skswhwo/UICircleAnimationView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UICircleAnimationView

Circle animating view with a small circle point. alt text

Installation

UICircleAnimationView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "UICircleAnimationView"

And then run:

$ pod install

Usage

Init

+ (UICircleAnimationView *)getCircleView:(CGRect)rect;

Trigger

- (void)strokeCircleTo:(NSInteger)currunt total:(NSInteger)total withAnimate:(BOOL)animate;

Setter

- (void)setForegroundStrokeColor:(UIColor *)foregroundStrokeColor;
- (void)setBackgroundStrokeColor:(UIColor *)backgroundStrokeColor;
- (void)setHideCirclePoint:(BOOL)hideCirclePoint;

Properties

@property (nonatomic, assign) float lineWidth;          //default 4
@property (nonatomic, assign) NSTimeInterval duration;  //default 1.0f
@property (nonatomic, strong) CALayer *circlePoint;

Author

skswhwo, skswhwo@gmail.com

License

UICircleAnimationView is available under the MIT license. See the LICENSE file for more info.

About

Circle animating view with a small circle point.

Resources

License

Stars

Watchers

Forks

Packages

No packages published