I have a method which calls a block, and the block then reloads the tableview of the method of the tableviewcontroller reload data. however the trick is that the block is called inside of a different class. my question is how do i make it such that when i call [self.tableview reload data] it calls the parent class's function:
[pro refreshMatchesWithCallback:^
{
if ([pro.matches count] > 0) {
//[self.tableView reloadData];
NSLog(@"the count of a lifetime is %@", [pro.matches objectAtIndex:0]);
}
}];