diff -r 7f3f96e9fdf1 -r 3dc674af7662 project_files/HedgewarsMobile/Classes/HoldTableViewCell.m --- a/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m Wed Oct 28 03:41:00 2015 +0100 +++ b/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m Thu Oct 29 03:48:42 2015 +0100 @@ -18,7 +18,7 @@ #import "HoldTableViewCell.h" - +#import "UITableViewCell+FindTable.h" @implementation HoldTableViewCell @synthesize delegate; @@ -66,22 +66,6 @@ } } -- (UITableView *)findTable -{ - UIView *tableView = self.superview; - while (![tableView isKindOfClass:[UITableView class]] || (tableView == nil)) - { - tableView = tableView.superview; - - if ([tableView isEqual:self.window]) - { - tableView = nil; - } - } - - return (UITableView *)tableView; -} - -(void) dealloc { self.delegate = nil; [super dealloc];