Multiple Display Names in NSWindow

NSWindow The representedFilename property (and its friend, representedURL ) allows you to associate a specific file name with a window. This allows you to display icons for specific file types in the header, drag and drop an icon to create an alias, and right-click to display the file path.

Linking a single file to NSWindow very simple. However, in the Xcode4 window there are no one or two file names represented, both in Snow Leopard and in Lion. How is this achieved?

Xcode multiple represented filenames

+6
source share

Source: https://habr.com/ru/post/911140/


All Articles