I know that you used to be able to do it through:
<CCLayerObject>.isTouchEnabled = YES;
...in conjunction with a registration to the touch dispatcher:
-(void)registerWithTouchDispatcher
{
[[[CCDirector sharedDirector] touchDispatcher] addTargetedDelegate:self priority:0 swallowsTouches:YES];
}
...and then just get the callbacks:
-(BOOL)ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event
{
CGPoint point = [self convertTouchToNodeSpace:touch];
NSLog(@"X:%ftY:%f", point.x, point.y);
}
But what do you need to do in V3?