Hello All,
I've categorized item list on category section. and I've implement commitEditingStyle: for swipe to delete.
my Problem is when item not in any category at that time i display "No Data" on cell. i want to disabled swipe to delete for this cell.
When we add UITableViewDelegate Method
- (void)tableView
UITableView *)tv commitEditingStyle
UITableViewCellEditingStyle)editingStyle forRowAtIndexPath
NSIndexPath *)indexPath;
It's handle the automatically swipe to delete button and pass
"editingStyle == UITableViewCellEditingStyleDelete"
Please Guide me how to disable / enable for some cell.
I've categorized item list on category section. and I've implement commitEditingStyle: for swipe to delete.
my Problem is when item not in any category at that time i display "No Data" on cell. i want to disabled swipe to delete for this cell.
When we add UITableViewDelegate Method
- (void)tableView
It's handle the automatically swipe to delete button and pass
"editingStyle == UITableViewCellEditingStyleDelete"
Please Guide me how to disable / enable for some cell.