The name of the document as displayed in the title bars of the document’s windows and in alert dialogs related to the document.
- macOS 10.0+
If the document has been saved, the display name is the last component of the directory location of the saved file (for example, “
My” if the path is “
/tmp/My”). If the document is new,
NSDocument makes the display name “Untitled n
windowto modify the display name as it appears in window titles.
Title(for Document Display Name:)