Bridge UITableViewCell pointInside to ASNodeCell

Allow ASNodeCell to specify pointInside of UITableViewCell.
This is very usefull, if ASNodeCell is presented as bubble aligned to
left or right (like Messages.app) and we need to be able to select row
only if user taps on bubble.
This commit is contained in:
yury
2015-12-28 16:11:50 +03:00
parent 4c4f0c8932
commit 382326ea84

View File

@@ -75,6 +75,10 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
_node.highlighted = highlighted;
}
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
return [_node pointInside:point withEvent:event];
}
@end
#pragma mark -