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

# placeholderString

The cell’s plain text placeholder string.

## Declaration

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

## Discussion

Discussion If this property returns nil, you can also call placeholderAttributedString to see if the cell has an attributed placeholder string. Note that invoking this method clears out any attributed string set by the placeholderAttributedString property.

## See Also

### Asking About Placeholder Values

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