project_files/HedgewarsMobile/Classes/HoldTableViewCell.m
changeset 6115 485cfecadc9a
parent 4976 088d40d8aba2
child 6700 e04da46ee43c
equal deleted inserted replaced
6114:443cce9e060f 6115:485cfecadc9a
    56     } else
    56     } else
    57         [super touchesCancelled:touches withEvent:event];
    57         [super touchesCancelled:touches withEvent:event];
    58 }
    58 }
    59 
    59 
    60 -(void) holdAction {
    60 -(void) holdAction {
    61     if (self.delegate != nil && [self.delegate respondsToSelector:@selector(holdAction:)])
    61     if (self.delegate != nil && [self.delegate respondsToSelector:@selector(holdAction:onTable:)])
    62         [self.delegate holdAction:self.textLabel.text];
    62         [self.delegate holdAction:self.textLabel.text onTable:(UITableView *)self.superview];
    63 }
    63 }
    64 
    64 
    65 -(void) dealloc {
    65 -(void) dealloc {
    66     self.delegate = nil;
    66     self.delegate = nil;
    67     [super dealloc];
    67     [super dealloc];