重用cell时经常遇到
1.
// for (UIView* next = [self superview]; next; next = next.superview) {
// UIResponder* nextResponder = [next nextResponder];
// if ([nextResponder isKindOfClass:[UIViewController class]]) {
// NSLog(@"1212%@",(UIViewController*)nextResponder);
//
// }
// }
2.UITableView *tv = (UITableView *) self.superview;
UIViewController*vc = (UIViewController *) tv.dataSource;