Contents

init(headerTextProvider:body1TextProvider:body2TextProvider:)

Creates a new template that has a row of header text and two rows of body text.

Declaration

init(headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider, body2TextProvider: CLKTextProvider?)

Parameters

  • headerTextProvider:

    The text provider for the header. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.

  • body1TextProvider:

    The text provider for the first row of body text. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.

  • body2TextProvider:

    The text provider for the second row of body text. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.

See Also

Creating the Template