How does one add additional items to NSMenu in Interface Builder?

后端 未结 2 1443
孤街浪徒
孤街浪徒 2021-01-11 18:28

I\'m using Xcode for the first time. I\'ve been following a tutorial, and I\'m completely stumped by something that\'s surely trivial. I\'ve dragged a \"Menu\" from the Libr

相关标签:
2条回答
  • 2021-01-11 19:05

    You want to drag an NSMenuItem from the library palette onto the menu:

    Library Palette

    You can add submenus and separators similarly.

    0 讨论(0)
  • 2021-01-11 19:30

    Cmd-D duplicates anything as well if you are getting tired of the drag-drop thing.
    You just have to watch out that as your tags and action connections are getting duplicated too they might not be connected to the thing you wanted them to be.

    0 讨论(0)
提交回复
热议问题