Contents

showsTagField

A Boolean value that indicates whether the panel displays the Tags field.

Declaration

var showsTagField: Bool { get set }

Discussion

When the value of this property is true, the panel displays the Tags field; if false, the panel doesn’t display the Tags field. The default value is true. (Note that the Tags field is appropriate only in a Save panel.)

If you set this property to true, you are responsible for setting tag names on the resulting file after saving is complete. If you don’t set this property, macOS will automatically show the tag field and attempt to apply the tags to the file. To set tags on files, use the tagNamesKey.

See Also

Configuring the Panel’s Appearance