Skip to content

GaugeMeterView is view which can be used in different Meter applications

License

Notifications You must be signed in to change notification settings

dhrebeniuk/GaugeMeterView

Repository files navigation

#Ban Russia from SWIFT! Protect Ukrainian Sky! Send NATO to Ukraine! #BanRussiafromSwift #CloseTheSky #SendNatoToUkraine

GaugeMeterView

GaugeMeterView can be used for create meter indicators which give ability for customizations.

Default Gauge

Installation

Via CocoaPods:

pod 'GaugeMeterView'

Usage

You can use such code:

let gaugeMeterView = GaugeMeterView()

gaugeMeterView.gaugeAngle = 30.0
gaugeMeterView.arrowBorderColor = UIColor.black
gaugeMeterView.gaugeRangeValuesColor = UIColor.black

gaugeMeterView.ranges = [(value: 100.0, color: blue, title: "Low"), (value: 200, color: green, title: "Medium"), (value: 300.0, color: red, title: "High")]

gaugeMeterView.value = 120.0

Compatibility/Restrictions

  • iOS8+ only

About

GaugeMeterView is view which can be used in different Meter applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published