Class

CLKComplicationTemplateModularSmallRingText

A template for displaying text encircled by a configurable progress ring

Declaration

class CLKComplicationTemplateModularSmallRingText : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamily.modularSmall family. Figure 1 shows the layout of the data and how a template of this type might appear on the clock face.

Figure 1

Layout of a modular small ring text template

Diagram showing the layout of text inside a small progress ring.

Topics

Setting the Complication Data

var textProvider: CLKTextProvider

The text to display in the complication.

var ringStyle: CLKComplicationRingStyle

The style of the progress ring.

var fillFraction: Float

The fraction of the ring to fill.

Relationships

Conforms To

See Also

Text Templates

class CLKComplicationTemplateModularSmallColumnsText

A template for displaying two rows and two columns of text

class CLKComplicationTemplateModularSmallSimpleText

A template for displaying a small amount of text.

class CLKComplicationTemplateModularSmallStackText

A template for displaying two strings stacked one on top of the other.