LLARateLimiter 0.1.0

LLARateLimiter 0.1.0

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布上次发布2014年12月

Lukas Lipka 维护。



  • 作者
  • Lukas Lipka

LLACircularProgressView 是一个令人愉悦的 iOS7 风格圆形进度条,带有一个停止按钮。

  • 动画进度显示
  • 停止按钮
  • 尊重 iOS7 接口色调颜色
  • 在显示警告视图或操作表时自动减弱色调颜色
  • iOS6 和 iOS7 兼容

示例

Screenshot

打开包含的 Xcode 项目以查看示例应用程序。

使用

// 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

pod 'LLACircularProgressView'

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

要求

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

联系

Lukas Lipka

许可证

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