HalfPie 0.1.0

HalfPie 0.1.0

Ravi Jobanputra维护。



HalfPie 0.1.0

  • Ravi Jobanputra

HalfPie

CI Status Version License Platform

示例

要运行示例项目,请先克隆仓库,然后在 Example 目录下运行 pod install

如何使用

  1. init HalfPie
let roundView = HalFPie()
  1. 自定义
    roundView.frontLineWidth = 3
    roundView.bottomLineWidth = 5
    roundView.frontLineColor = .green
    roundView.bottomLineColor = .lightGray
    roundView.needPointer = true
  1. 设置值
    roundView.Add_PieViewFor(value: 5.9, total: 25)

享受吧!!!

要求

安装

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

pod 'HalfPie'

作者

Ravi Jobanputra, [email protected]

许可证

HalfPie 采用 MIT 许可证。有关更多信息,请参阅 LICENSE 文件。