---
title: tagNames
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssavepanel/tagnames
---

# tagNames

The tag names that you want to include on a saved file.

## Declaration

```swift
var tagNames: [String]? { get set }
```

## Discussion

Discussion When the value of showsTagField is true, use this property to provide an array of strings that represent the initial tag names to display in the panel. If you set the property to nil or an empty array, the panel displays no initial tag names. note: The Tags field is appropriate only in a Save panel.

## See Also

### Configuring the Panel’s Appearance

- [title](appkit/nssavepanel/title.md)
- [prompt](appkit/nssavepanel/prompt.md)
- [message](appkit/nssavepanel/message.md)
- [nameFieldLabel](appkit/nssavepanel/namefieldlabel.md)
- [nameFieldStringValue](appkit/nssavepanel/namefieldstringvalue.md)
- [directoryURL](appkit/nssavepanel/directoryurl.md)
- [accessoryView](appkit/nssavepanel/accessoryview.md)
- [showsTagField](appkit/nssavepanel/showstagfield.md)
