init(textProvider:)
Creates a new template from the provided text.
Declaration
init(textProvider: CLKTextProvider)Parameters
- textProvider:
The text provider for a single line of 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.