Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

geiger10d

macrumors member
Original poster
Jan 31, 2011
57
0
hey guys i am trying to swipe to delete here the swipe works but when i click delete nothing happens what do i have to do !



Code:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle		
	forRowAtIndexPath:(NSIndexPath *)indexPath {
	
	if (editingStyle == UITableViewCellEditingStyleDelete) {
		
	}
}
 
Nope. Either way you will simply copy and paste and I believe that is the worst possible outcome. Furthermore it depends explicitly on how you have coded your data model which we don't know. For 2) you should be able to find out in seconds from the documentation.
 
Here's a good learning resource

Nope. Either way you will simply copy and paste and I believe that is the worst possible outcome. Furthermore it depends explicitly on how you have coded your data model which we don't know. For 2) you should be able to find out in seconds from the documentation.

a) I agree - the OP needs to LEARN how the APIs work, not EXPECT someone to hand out an answer. I'm not sure that the OP intended the latter, btw, but...

b) I've given this link out before - see my response in this thread for links to some good information. Lecture #10 covers TableView pretty thoroughly.

RonC
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.