KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
GDGauge
★ 83
Open GitHub ↗
Easy to use, highly customizable gauge view
Download README (.md)
Explore Similar Repositories
test-infra
:
Test infrastructure for the Knative project
kolor
:
A library to print colored strings, with Kotlin.
egg-sofa-rpc
:
SOFARPC plugin for egg
excel-io
:
Object-oriented java Excel library
CSGNet
:
CSGNet: Neural Shape parser for Constructive Solid Geometry
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
GDGauge
?
Download (.md)
# GDGauge - Customizable Gauge View  # Requirements - Xcode 11+ - Swift 5 - iOS 9+ # Installation ## Swift Package Manager ```swift .package(url: "https://github.com/saeid/GDGauge.git", from: "2.0.0") ``` ## Cocoapods (Not updated - Latest version "1.2.1") ```ruby pod 'GDGauge' ``` # Usage ### Import GDGauge ```swift import GDGauge ``` ### Create an instance of GDGaugeView ```swift var gaugeView = GDGaugeView(frame: view.bounds) ``` ### Setup, customize and build the view ```swift gaugeView .setupGuage( startDegree: CGFloat, endDegree: CGFloat, sectionGap: CGFloat, minValue: CGFloat, maxValue: CGFloat ) .setupContainer( width: CGFloat, color: UIColor, handleColor: UIColor, options: GaugeOptions, indicatorsColor: UIColor, indicatorsValuesColor: UIColor, indicatorsFont: UIFont ) .setupUnitTitle( title: String, font: UIFont ) .buildGauge() ``` ### To update the handle value ```swift gaugeView.updateValueTo(CGFloat) ``` ### To update colors when a limit is reached ```swift gaugeView.updateColors( containerColor: UIColor, indicatorsColor: UIColor ) ``` ### To reset to initial colors ```swift gaugeView.resetColors() ``` ## Licence GDGauge is available under the MIT license. See the [LICENSE.txt](https://github.com/saeid/GDGauge/blob/master/LICENSE) file for more info.