Swiftpack.co - dhrebeniuk/GaugeMeterView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by dhrebeniuk.
dhrebeniuk/GaugeMeterView 0.0.8
GaugeMeterView is view which can be used in different Meter applications
⭐️ 12
🕓 2 years ago
iOS
.package(url: "https://github.com/dhrebeniuk/GaugeMeterView.git", from: "0.0.8")

#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

GitHub

link
Stars: 12
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics