<!--
{
  "availability" : [
    "iOS: 4.2.0 -",
    "iPadOS: 4.2.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISimpleTextPrintFormatter/init(text:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISimpleTextPrintFormatter(im)initWithText:"
  },
  "title" : "init(text:)"
}
-->

# init(text:)

Returns a simple-text print formatter initialized with plain text.

```
init(text: String)
```

## Parameters

`text`

A string of plain text or `nil` if you intend to assign the text later.

## Return Value

An initialized instance of `UISimpleTextPrintFormatter` or `nil` if the object could not be created.

## See Also

[`text`](/documentation/UIKit/UISimpleTextPrintFormatter/text)

A string of plain text.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)