文章来源:淘论文网   发布者: 毕业设计   浏览量: 32



还可以点击去查询以下关键词:
[一款]    [模仿]    [加载]    [定制]    [动画]    [圆圈]    [线渐]    [变色]    [一款模仿UBER的加载定制动画,圆圈线渐变色]   

项目介绍:

LSProgressHud

https://github.com/lsmakethebest/LSProgressHud

一款模仿UBER的加载动画,开题报告,使用方法类似MBProgressHud,也抽离了个类LSGraintCircleLayer可以按自己需求实现圆圈线渐变色

使用方法在window显示- (IBAction)show:(id)sender { [LSProgressHUD showWithMessage:@'正在载入']; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [LSProgressHUD hide]; }); }在view显示- (IBAction)show:(id)sender { [LSProgressHUD showToView:self.view message:@'正在计算费用']; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [LSProgressHUD hideForView:self.view]; });

}

LSGraintCircleLayer使用方法- (void)create{ LSGraintCircleLayer *layer = [[LSGraintCircleLayer alloc] initGraintCircleWithBounds:CGRectMake(0, 0, 100,100) Position:CGPointMake(0, 0) FromColor:[UIColor colorWithWhite:1.000 alpha:0.318] ToColor:[UIColor colorWithRed:0.122 green:0.702 blue:0.820 alpha:1.000] LineWidth:3.0]; [contentView.layer addSublayer:layer]; }


开题报告


这里还有:


还可以点击去查询:
[一款]    [模仿]    [加载]    [定制]    [动画]    [圆圈]    [线渐]    [变色]    [一款模仿UBER的加载定制动画,圆圈线渐变色]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8435.docx
  • 上一篇:目前主流actionShee毕业设计t效果,类似微信,微博
  • 下一篇:OpenEyesDemo 灵感来自于开眼App