Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
iOS UI component to display speed gauge
Objective-C C Ruby
branch: master

Merge pull request #3 from iprox/master

Setting dimension label colour from settings.
latest commit 1d3f6035c2
@xslim authored
Failed to load latest commit information.
Example Dimension label config values added to Info.plist files.
screenshots Added screenshot
.gitignore Fix gitignore
README.md Readme updated
TKGauge.podspec Added QuartzCore to podspec
TKGaugeView.h
TKGaugeView.m
TKGaugeViewController.h Small fixes
TKGaugeViewController.m
TKSimpleDataFilter.h
TKSimpleDataFilter.m

README.md

TKGauge

iOS UI component to display gauge

Installation

  • You need cocoapods lib manager
  • Edit your Podfile and add
dependency 'TKGauge', :podspec => 'https://raw.github.com/xslim/TKGauge/master/TKGauge.podspec'

Usage

  • See Example project

1

Loading Gauge

NSString *path = [[NSBundle mainBundle] bundlePath];
self.gaugePath = [[path stringByAppendingPathComponent:@"Gauges"] stringByAppendingPathComponent:@"speed.gauge"];

Data filter

  • By default, data filter maxAverageCount will be loaded from skin's config config.averageFilter - TODO
  • To turn off data filter just say self.dataFilter.maxAverageCount = 0; (Ex. some where in viewDidLoad)

Theaming

  • See Gauges folder
Something went wrong with that request. Please try again.