A template for displaying text encircled by a configurable progress ring.


class CLKComplicationTemplateUtilitarianSmallRingText : CLKComplicationTemplate


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

Figure 1

Layout of a utilitarian small ring text template

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


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.


Conforms To

See Also

Utilitarian Small

class CLKComplicationTemplateUtilitarianSmallFlat

A template for displaying an image and text in a single line.

class CLKComplicationTemplateUtilitarianSmallRingImage

A template for displaying an image encircled by a configurable progress ring

class CLKComplicationTemplateUtilitarianSmallSquare

A template for displaying a single square image.