Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath {
- if(indexPath.row == [tasksArray count])
- return UITableViewCellEditingStyleInsert;
- else
- return UITableViewCellEditingStyleDelete;
- }
Add Comment
Please, Sign In to add comment