cocoa - NSResponder and multiple NSTableView - who sent message? -
i've got 2 nstableview in single nsviewcontroller, , each has own nsarraycontroller handle exists. i'm trying wire edit->delete button. how know, when delete method called, 'who' sent message?
specifically want know whether clicked first table view or second 1 when chose delete menu item. 'sender' delete method nsmenuitem can't back-track table.
get firstresponder
of window , follow nextresponder
until find table view.