<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextField/init(wrappingLabelWithString:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextField(cm)wrappingLabelWithString:"
  },
  "title" : "init(wrappingLabelWithString:)"
}
-->

# init(wrappingLabelWithString:)

Initializes a text field for use as a multiline static label with selectable text that uses the system default font.

```
convenience init(wrappingLabelWithString stringValue: String)
```

## Parameters

`stringValue`

A string to use as the initial content of the editable text field.

## Return Value

A multiline text field that displays the specified string.

## Discussion

---

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)