Skip to content

Instantly share code, notes, and snippets.

@xr1337

xr1337/gist:5704489

Created Jun 4, 2013
Embed
What would you like to do?
PointInside
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event{
if (CGPathContainsPoint(touchPath, NULL, point, NO)) {
return YES;
}
return NO;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment