这应该有效。这是解决这个问题的众多尝试之一myTrainingSessions[indexPath.row].unpinInBackgroundWithBlock{(succ,e)->Voidinifsucc==true{//justremovefromtableviewetcself.myTrainingSessions[indexPath.row].deleteEventually()self.myTrainingSessions.removeAtIndex(indexPath.row)self.tableView.deleteRowsAtIndexPaths([indexPath
这应该有效。这是解决这个问题的众多尝试之一myTrainingSessions[indexPath.row].unpinInBackgroundWithBlock{(succ,e)->Voidinifsucc==true{//justremovefromtableviewetcself.myTrainingSessions[indexPath.row].deleteEventually()self.myTrainingSessions.removeAtIndex(indexPath.row)self.tableView.deleteRowsAtIndexPaths([indexPath