With a storyboard, you can easily customise a cell, with subviews, and insert actions of those subviews, directly inside the table controller, via - (IBAction)handle:(id)sender;
But is it possible to do something similar, without a storyboard or a nib ?
I have a custom cell, and a custom table controller.
- I can't insert the action inside the cell implementation, because it's supposed to trigger stuff from the controller.
- I can use UIGesture inside the controller, at
tableView:cellForRowAtIndexPath:
, but every time it's called, it will insert a gesture for the cell. Of course, I can manage this...
So I wonder if there is a "simple" way to implement the action of a cell's subview inside the table controller, like the IBAction, without a storyboard or a nib ? Thanks. B.R.