Class

CLKComplicationTemplateModularSmallColumnsText

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

Declaration

@interface CLKComplicationTemplateModularSmallColumnsText : CLKComplicationTemplate

Overview

This template belongs to the CLKComplicationFamilyModularSmall 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 modular small columns text template

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

Topics

Setting the Complication Data

row1Column1TextProvider

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

row1Column2TextProvider

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

row2Column1TextProvider

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

row2Column2TextProvider

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

column2Alignment

The alignment of the text in the second column.

highlightColumn2

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

Relationships

See Also

Text Templates

CLKComplicationTemplateModularSmallRingText

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

CLKComplicationTemplateModularSmallSimpleText

A template for displaying a small amount of text.

CLKComplicationTemplateModularSmallStackText

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