Class

CLKGaugeProvider

An abstract superclass that provides all the common behaviors for the gauge providers.

Declaration

@interface CLKGaugeProvider : NSObject

Overview

Don’t create instances of this class yourself. Instead, create instances of the concrete subclasses based on the type of gauge you are trying to create.

Topics

Setting the Gauge’s Appearance

gaugeColors

The gauge's colors.

gaugeColorLocations

The location of each color in a multicolor gauge’s gradient.

style

The style that defines the gauge’s appearance.

Adding Accessibility

accessibilityLabel

A localized string that describes the gague.

Relationships

Inherits From

Conforms To

See Also

Data Providers

CLKDateTextProvider

A formatted string that conveys a date without any time information.

CLKImageProvider

An image displayed by a complication.

CLKFullColorImageProvider

A full-color image displayed by a complication.

CLKRelativeDateTextProvider

A formatted string that conveys the difference in time between the current date and a date that you specify.

CLKSimpleTextProvider

A single line of text to display in your complication interface.

CLKTextProvider

The common behavior for displaying text-based data in a complication.

CLKTimeIntervalTextProvider

A formatted time range.

CLKTimeTextProvider

A formatted time value.

CLKSimpleGaugeProvider

A gauge that shows a fractional value.

CLKTimeIntervalGaugeProvider

A gauge that tracks time intervals.

CLKSimpleGaugeProviderFillFractionEmpty

A fill value indicating an empty gauge.

CLKGaugeProviderStyle

Visual styles available for gauges.