I know how to do it programatically, creating a menu and adding menu items and then assigning selector to it and eventually calling a function. But what i am not able to figure out is how do i execute a function when an NSMenuItem was added using Story Board.
All i want to do is when i click on "New ITEM" a function is called on the current controller.
Can you please suggest or point me to an example?