Instance Property

tagNames

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

Declaration

@property(copy) NSArray<NSString *> *tagNames;

Discussion

When the value of showsTagField is YES, use this property to provide an array of strings that represent the inital set of tag names to display in the panel. If you set the property to nil or an empty array, no initial tag names are displayed in the panel. (Note that the Tags field is appropriate only in a Save panel.)

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.

showsTagField

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