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, described in Common File System Resource Keys.)

See Also

Configuring Panels

accessoryView

The custom accessory view for the current application.

title

The title of the panel.

prompt

The prompt of the default button.

nameFieldLabel

The string displayed in front of the filename text field.

message

The message text displayed in the save panel.

canCreateDirectories

A Boolean value that indicates whether the panel allows the user to create directories.

showsHiddenFiles

A Boolean value that indicates whether the panel displays files that are normally hidden from the user.

delegate

The panel’s delegate.

tagNames

The tag names to set on the file the user has saved.