objective c - load a menu from nib -


i have main.xib, main window, main menu, , second menu name "statusmenu" connects nowhere.

in application, have nsstatusitem, , want press it, , display secondary menu.

how can connect two?

thanks

create iboutlet status item menu, , when create status item set menu:

[statusitem setmenu: statusitemmenu];


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -