ABGaugeViewKit
一个轻量级的 GaugeView,使您的应用程序更出色。
ABGaugeViewKit 是一个允许大量修改 UI 的框架,这可以帮助您在 iOS 应用中添加 Gauge 视图。
特性
- 无代码实现
- 基于矢量
要求
- iOS 11.0+
- Xcode 9.0
- Swift 3.0+
安装
CocoaPods
您可以使用 CocoaPods 将 ABGaugeViewKit
添加到您的 Podfile
中进行安装。
platform :ios, '11.0'
use_frameworks!
pod 'ABGaugeViewKit'
使用示例
import ABGaugeViewKit
//Create an IBOutlet from Storyboard of UIView
// Note: UIView must be a square for best output!
@IBOutlet weak var myGaugeView: ABGaugeView!
// To change needle value
// Note: Needle value should in between 0 to 100
myGaugeView.needleValue = 100
贡献
我们非常欢迎您为 ABGaugeViewKit 做出贡献,详细信息请参见 LICENSE
文件。
元数据
Ajay Bhanushali – LinkedIn – [email protected]
在 MIT 许可下发行。更多信息请参见 LICENSE
文件。