i have a UITableView , within each cell i have 2 custom buttons, what i want to do is withing the didSelectRowAtIndexPath method i want to do an if statement on which button was touched
so i would effectively be splitting a cell in 2
but i have no idea how i could wright the if statements.
any help would be greatly welcomed
Thanks
Thanks for all you help guys, but i found the soloution i was looking for. so here it is
in your cellForRowAtIndexPath method
set the tag so , when you select the button within your custom cell, the app knows which row was selected.
so then on your button pressed method
so then you can perform all the actions you need depending on which button was touched on which cell
hope this helps someone else
source for information was here