Instance Property

name

The name of the target file.

Declaration

var name: String? { get set }

Discussion

This property contains the filename without any preceding path information. The default value of this property is derived from the path information in the url property. You can change the value of this property as needed if you want to associate a different name with the file.

See Also

Accessing the Target Document’s Attributes

var url: URL?

The URL identifying the target file on the local filesystem.

var uti: String?

The type of the target file.

var icons: [UIImage]

The images associated with the target file.

var annotation: Any?

Custom property list information for the target file.