Class

CLKComplicationTemplateExtraLargeColumnsText

A template for displaying two rows and two columns of text.

Declaration

class CLKComplicationTemplateExtraLargeColumnsText : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamily.extraLarge 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 an extra large columns text template

Diagram showing the layout of two rows and two columns of text.

Topics

Setting the Complication Data

var column2Alignment: CLKComplicationColumnAlignment

The alignment of the text in the second column.

var highlightColumn2: Bool

A Boolean value indicating which column should be drawn with a highlight.

var row1Column1TextProvider: CLKTextProvider

The text to display in the first column of the first row.

var row1Column2TextProvider: CLKTextProvider

The text to display in the second column of the first row.

var row2Column1TextProvider: CLKTextProvider

The text to display in the first column of the second row.

var row2Column2TextProvider: CLKTextProvider

The text to display in the second column of the second row.

Relationships

Conforms To

See Also

Text Templates

class CLKComplicationTemplateExtraLargeRingText

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

class CLKComplicationTemplateExtraLargeSimpleText

A template for displaying a small amount of text

class CLKComplicationTemplateExtraLargeStackText

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