LLACircularProgressView 0.1.1

LLACircularProgressView 0.1.1

测试测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2014年12月

Lukas Lipka维护。



动画进度显示

  • 停止按钮
  • 尊重 iOS7 界面色调颜色
  • 在弹出视图或操作表显示时自动降低色调颜色
  • iOS6 和 iOS7 兼容
  • 示例

打开包含的 Xcode 项目来查看示例应用。

Screenshot

用法

请查看头文件以获取完整文档。

// Initialize the progress view
LLACircularProgressView *circularProgressView = [[LLACircularProgressView alloc] init];

// Optionally set the current progress
circularProgressView.progress = 0.5f;

// Optionally change the tint color
circulerProgressView.tintColor = [UIColor redColor];

// Optionally hook up the stop action
[circularProgressView addTarget:self action:@selector(stop:) forControlEvents:UIControlEventTouchUpInside];

// Add it as a subview
[self.view addSubview:circularProgressView];

...

// Animate progress changes
[circularProgressView setProgress:0.8f animated:YES];

安装

CocoaPods 是安装 LLACircularProgressView 推荐的方法。只需将以下行添加到您的 Podfile

Podfile

否则,您只需将 LLACircularProgressView.hLLACircularProgressView.m 添加到项目中。

pod 'LLACircularProgressView'

需求

LLACircularProgressView 在 iOS6 和 iOS7 上进行了测试并需要 ARC。

联系

http://github.com/lipka

GitHub 仓库

LLACircularProgressView 在MIT 许可证下提供。查看 LICENSE 文件获取更多信息。

CocoaPods 是由以下团队开发的项目: