The thing about the MVC paradigm is that your view should not know about your model. I have a custom TableCellView, which means it has no direct view controller. It belongs to a TableView. My tableView of course has a controller, MyPetTableViewController.
Anyway, my CustomTableViewCell has a number of buttons and ImageViews, everyone of them clickable. Depending on which button/imageView is clicked, I need to: go to a different tab view, or show a modal. If I were simply listening to table row, then the controller’s job would be straightforward. But how do I get the controller to listen to events within a table cell? I already thought about using touchesEnded:withEvent
inside MyPetTableViewController but then I would not know the index in question. so really I need to know: which view inside which table row was clicked?