NSPanel removed in Xcode 8?

In the past, I could find a panel available in the Builder interface library, but in Xcode 8 I searched the entire library in the storyboard editor, without a panel. NSPanelDid Apple just delete it or am I having something wrong?

+4
source share
1 answer

Assuming you want to add a second window (like a panel) to your storyboard, add a new one window controller. Then select it windowand change its class to NSPanel. In the attribute inspector, you will find that your panel can then be changed to regular, utilityor HUD.

Cocoa , Nibs/Xibs , .

+5

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


All Articles