---
title: placeholderAttributedString
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/placeholderattributedstring
---

# placeholderAttributedString

The attributed string the text field displays when empty to help the user understand the text field’s purpose.

## Declaration

```swift
@NSCopying var placeholderAttributedString: NSAttributedString? { get set }
```

## See Also

### Setting Placeholder Text

- [placeholderString](appkit/nstextfield/placeholderstring.md)
