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

# init(text:)

Creates and returns a text provider with the specified long form text.

## Declaration

```swift
convenience init(text: String)
```

## Parameters

- `text`: The text that you want to display. This value is assigned to the doc://com.apple.clockkit/documentation/ClockKit/CLKSimpleTextProvider/text property of your text provider object.

## Return Value

Return Value A text provider initialized with the specified content.

## See Also

### Creating a Text Provider

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