This question is bit related to my earlier question
I am newbie for iPhone application and trying to learn UITableView
with JSON
. I followed this video
for learning.
I created same example using Stoaryboard and also added new screen where I can add data. Now I was trying to delete the data. So what I did is thought is instead of below method, I will add button on each row and on clicking of that I will delete the data.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
But I am not getting how I will get the row details and how to delete.
Any help/ suggestion would be grateful.
Below is how my screen looks like.
Note:
The UITableViewCell
is of CUSTOM type.