Conforms to NSObject
Declared in TKGauge.h

Overview

The methods declared by the TKGaugeDelegate protocol allow the adopting delegate to respond to messages from TKGauge class.

Instance Methods

gauge:textForLabel:

Returns the text of a given label in the gauge.

- (NSString *__nullable)gauge:(TKGauge *__nonnull)gauge textForLabel:(id __nonnull)label

Parameters

gauge

The gauge where the event was caused.

label

The label.

Declared In

TKGauge.h

gauge:valueChanged:forScale:

This is being called every time TKGauge value is changed.

- (void)gauge:(TKGauge *__nonnull)gauge valueChanged:(CGFloat)value forScale:(TKGaugeScale *__nonnull)scale

Parameters

gauge

The gauge where the event was caused.

value

The new value.

scale

The particular scale that the value is changing for.

Declared In

TKGauge.h