---
title: "init(text:shortText:accessibilityLabel:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clksimpletextprovider/init(text:shorttext:accessibilitylabel:)"
---

# init(text:shortText:accessibilityLabel:)

Creates and returns a text provider with the text strings and an accessible string.

## Declaration

```swift
convenience init(text: String, shortText: String?, accessibilityLabel: String?)
```

## Parameters

- `text`: The text that you want to display.
- `shortText`: A shorter version of the value in the text parameter that conveys the same information.
- `accessibilityLabel`: A succinct string that identifies the purpose of the text.

## Return Value

Return Value A text provider initialized with the specified content.

## See Also

### Creating a Text Provider

- [init(text:)](clockkit/clksimpletextprovider/init(text:).md)
- [init(text:shortText:)](clockkit/clksimpletextprovider/init(text:shorttext:).md)
