Contents

init(headerImageProvider:headerTextProvider:body1TextProvider:body2TextProvider:)

Creates a new template that has a header row with an image and text, and two rows of body text.

Declaration

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

Parameters

  • headerImageProvider:

    A full-color image provider.

  • headerTextProvider:

    The text provider for the header text. The template supports multicolored text from this text provider.

  • body1TextProvider:

    The text provider for the first row of body text. The template supports multicolored text from this text provider.

  • body2TextProvider:

    The text provider for the second row of body text. The template supports multicolored text from this text provider.

See Also

Creating the Template