我有一个调用块的方法,然后块重新加载tableviewcontroller重新加载数据的方法的tableview。但是诀窍是该块在不同的类中被调用。我的问题是如何做到这一点,当我调用 [self.tableview reload data] 时,它会调用父类的函数:
[pro refreshMatchesWithCallback:^
{
if ([pro.matches count] > 0) {
//[self.tableView reloadData];
NSLog(@"the count of a lifetime is %@", [pro.matches objectAtIndex:0]);
}
}];