---
title: possibleLabels
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbaritem/possiblelabels
---

# possibleLabels

The set of labels that the item might display.

## Declaration

```swift
var possibleLabels: Set<String> { get set }
```

## Discussion

Discussion Use this property to specify all of the labels you might possibly use for the toolbar item. Specify all strings in the current locale. To ensure there’s space for the longest label, the item sizes itself using the strings you provide.

## See Also

### Describing the item

- [label](appkit/nstoolbaritem/label.md)
- [paletteLabel](appkit/nstoolbaritem/palettelabel.md)
- [title](appkit/nstoolbaritem/title.md)
- [toolTip](appkit/nstoolbaritem/tooltip.md)
