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?
source share