Lack of title in NSOpenPanel?

Since OS X 10.11 it seems that the title bar no longer appears even when using setTitle: does anyone know what happened and how to return the previous behavior?

+5
source share
1 answer

From the AppKit Release Note for OS X v10.11 :

On 10.11, most NSOpenPanels accepted a project that was previously reserved only for applications that used iCloud Documents support, and this panel design was only used if iCloud Drive was included in System Preferences. This note will refer to the design as โ€œiCloud Open Panel Design,โ€ although the design is no longer limited to iCloud document-enabled applications.

ICloud Open Panel Design doesnโ€™t display an appearance, so it seems to be gone already. I do not think there is a way back.

If you want to display a message, description or title, you can use the message property.

+4
source

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


All Articles