Does NSTabView come with duplicate buttons in Interface Builder?

If I dragged the tab view controller to the OS X application storyboard, the tab view buttons seem to be mistaken. Can you help me understand what is happening?

Here is a minimal example of a new project in which I simply replaced the empty View Controller pool with a new table view controller:

Minimal configuration in Interface Builder

The highlighted tab displays by default as No Shadow Tab View, which means the tab style Tablessin the Attributes Inspector.

The Scene list also has two View tabs.

If I build and run, the result will look like this:

Result

, . , , .

" " Top Tabs Tabless, , :

Duplicate buttons

Tabless With Bezel, , , :

The frame is in the wrong position.

. ( "", )? , .

Interface Builder Tab View Controller?

+4
1

tabViewController "Unspecified" tabView.

0

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


All Articles