iOS UI component to display gauge
- You need cocoapods lib manager
- Edit your
Podfile
and add
dependency 'TKGauge', :podspec => 'https://raw.github.com/xslim/TKGauge/master/TKGauge.podspec'
- See Example project
NSString *path = [[NSBundle mainBundle] bundlePath];
self.gaugePath = [[path stringByAppendingPathComponent:@"Gauges"] stringByAppendingPathComponent:@"speed.gauge"];
- By default, data filter
maxAverageCount
will be loaded from skin's configconfig.averageFilter
- TODO - To turn off data filter just say
self.dataFilter.maxAverageCount = 0;
(Ex. some where inviewDidLoad
)
- See Gauges folder