Instance Property

showsTagField

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

Declaration

@property BOOL showsTagField;

Discussion

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

If you set this property to YES, 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 NSURLTagNamesKey.

See Also

Configuring the Panel's Appearance

title

The title of the panel.

prompt

The text to display in the default button.

message

The message text displayed in the panel.

nameFieldLabel

The label text displayed in front of the filename text field.

nameFieldStringValue

The user-editable filename currently shown in the name field.

directoryURL

The current directory shown in the panel.

accessoryView

The custom accessory view for the current app.

tagNames

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