title
The string that appears in the title bar of the window or the path to the represented file.
Declaration
var title: String { get set }Discussion
If the title has been set using setTitleWithRepresentedFilename(_:), this property contains the file’s path. Setting this property also sets the title of the window’s miniaturized window.