Synchronizes the displayed window title and the represented filename with the information in the associated document.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
func synchronizeWindowTitleWithDocumentName()
Discussion
Does nothing if the window controller has no associated document or loaded window. This method queries the window controller’s document to get the document’s display name and full filename path, then calls window
to get the display name to show in the window title.