I have a custom UITableViewCell with a couple of UIButton's on it.
I have both IBOutlet's and IBAction's set up from the buttons to my custom TableViewCell.
Now, when I go to use this custom cell on a TableViewController, how can I know in my controller which cell's X button was tapped?
Say I have an X and Y button on every cell, and I'm using dynamic cell's. Let's say I have 10. The user clicks the X button on the 2nd cell.
My custom UITableViewCell code will fire IBAction's xButtonTapped. How do I relay that information on to my TableViewController? Delegation?
And if so, how do I know which cell the user tapped the button on?