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.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo