Contents

CLKTextProvider

The common behavior for displaying text-based data in a complication.

Declaration

class CLKTextProvider

Overview

Typically, you don’t create instances of this class yourself. Instead, you create instances of an appropriate subclass, based on the type of text data you’re trying to create. However, you can use the init(format:_:) initializer or textProviderWithFormat: class method to create a compound text provider constructed from a format string and the data from other text providers.

Topics

Creating a Compound Text Provider

Creating Localized Text Providers

Setting the Tint Color

Supporting Accessibility

Creating Empty Text Providers

See Also

Text providers