UICircleAnimationView 0.9.2

UICircleAnimationView 0.9.2

测试已测试
语言语言 Obj-CObjective C
许可 MIT
发布最新发布2016年8月

skswhwo 维护。



  • 作者:
  • skswhwo

带有小圆点圆环动画视图。 alt text

安装

UICircleAnimationView 通过 CocoaPods 提供。要安装,只需将以下行添加到您的 Podfile 中

pod "UICircleAnimationView"

然后运行

$ pod install

用法

初始化

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

触发器

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

设置器

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

属性

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

作者

skswhwo, [email protected]

许可

UICircleAnimationView 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。