Instance Property

tagNames

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

Declaration

var tagNames: [String]? { get set }

Discussion

When the value of showsTagField is true, 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

var accessoryView: NSView?

The custom accessory view for the current application.

var title: String!

The title of the panel.

var prompt: String!

The prompt of the default button.

var nameFieldLabel: String!

The string displayed in front of the filename text field.

var message: String!

The message text displayed in the save panel.

var canCreateDirectories: Bool

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

var showsHiddenFiles: Bool

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

var showsTagField: Bool

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