Class

CLKComplicationTemplateGraphicCornerGaugeText

A template for displaying text and a gauge in the clock face’s corner.

Declaration

class CLKComplicationTemplateGraphicCornerGaugeText : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamily.graphicCorner family. shows the layout of the image and where the template might appear on the clock face.

Figure 1

Layout of the graphic corner gauge text template

Diagram showing the layout of the outer text and a gauge with leading and trailing text.

The system always displays the outer text as white. The gauge’s text can be multicolored.

Topics

Setting the Complication Data

var outerTextProvider: CLKTextProvider

The outer text to display in the complication.

var gaugeProvider: CLKGaugeProvider

The gauge to display in the complication.

var leadingTextProvider: CLKTextProvider?

The text to display on the leading edge of the gague.

var trailingTextProvider: CLKTextProvider?

The text to display on the trailing edge of the gauge.

Relationships

Conforms To

See Also

Corner

class CLKComplicationTemplateGraphicCornerCircularImage

A template for displaying an image in the clock face’s corner.

class CLKComplicationTemplateGraphicCornerGaugeImage

A template for displaying an image and a gauge in the clock face’s corner.

class CLKComplicationTemplateGraphicCornerStackText

A template for displaying stacked text in the clock face’s corner.

class CLKComplicationTemplateGraphicCornerTextImage

A template for displaying an image and text in the clock face’s corner.