how do I set an action to a menu item in xcode?
I know this is really simple, but I don't know where to look to find how to do it. I want to call an function when the user clicks one of the items in the menu bar.
_____________________________
|| File | Edit | Window |
| |
|do something | <-- when I press that
| |
| |
_____________
OS X Mavericks (10.9.2)