init(textProvider:imageProvider:)
Creates a new template that has a single row with an image and a long line of text.
Declaration
init(textProvider: CLKTextProvider, imageProvider: CLKImageProvider?)Parameters
- textProvider:
The text provider for the template. 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.
- imageProvider:
The image provider for the leading image. The system renders the image as a tinted template image, a bitmap image where only the opacity of the image matters. For more information, see Providing Images For Different Appearances.