---
title: placeholderString
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/placeholderstring
---

# placeholderString

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

## Declaration

```swift
var placeholderString: String? { get set }
```

## See Also

### Setting Placeholder Text

- [placeholderAttributedString](appkit/nstextfield/placeholderattributedstring.md)
