I have inherited from layer and added the TargetedTouchDelegate protocol to it, but when the layer is loaded I get an unhandled exception from the following line:
[[TouchDispatcher sharedDispatcher] addTargetedDelegate:self priority:0 swallowsTouches:NO];
[super onEnter];
This was copied directly from the demo, I only changed swallowsTouches to NO because I want the touches to propogate to lower layers if the following layer does not handle it. But I can't even get it to work with the layer...