---
title: "init(stringLiteral:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/mlmodelclassifieradaptor/label/init(stringliteral:)"
---

# init(stringLiteral:)

Creates a Label with a string literal.

## Declaration

```swift
init(stringLiteral value: String)
```
