Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 382326e

Browse files
committed
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.
1 parent 4c4f0c8 commit 382326e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

AsyncDisplayKit/ASTableView.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ - (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated
7575
_node.highlighted = highlighted;
7676
}
7777

78+
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
79+
return [_node pointInside:point withEvent:event];
80+
}
81+
7882
@end
7983

8084
#pragma mark -

0 commit comments

Comments
 (0)