I have a menu that is set as context menu of several NSTableViews, like below:
let appDelegate = NSApp.delegate as! AppDelegate
self.localeTable.menu = appDelegate.selectMenu
self.fileTable.menu = appDelegate.selectMenu
self.stringsTable.menu = appDelegate.selectMenu
Now my problem is that in the menu item's event handler, how do I know which NSTableView is current event for?
@IBAction func selectMenuItem_select(_ sender: Any)
}