TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Mar 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Luis Wu.
To run the example project, run pod try SGauge
.
-iOS SDK 9.0 or later
SGauge is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SGauge"
Add an UIView from ‘Object Library’ of 'Utilities’
Click the view you’ve just added and set the both class and module of the view to 'SGauge’. You shall see the gauge then.
Customize gauge’s appearance through Attribute Inspector
Declare a property of type SGauge with @IBOutlet qualifier in your view controller. For instance:
@IBOutlet var gauge: SGauge!
gauge.value = CGFloat(50)
Luis Wu, [email protected]
SGauge is available under the MIT license. See the LICENSE file for more info.