I am willing to delete cell and show reload tableView in cell of PFQueryViewController.
But, when I delete and refresh TableView, I have get error:\" *** Assertion f
I had the same problem, after upgrading to a newer parse sdk. Don't know what version exactly, but here's how I solved my Assertion Failure, simply by calling reloadData
after loadObjects
:
PFObject * object = [self.objects objectAtIndex: indexPath.row];
[object deleteInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
if (succeeded) {
[self loadObjects];
[self.tableView reloadData];
}else{
//handle your error
}
}];