I have a layer that doesn't not contain any sprites or anything. I've set isTouchEnabled to YES and have - (void)registerWithTouchDispatcher and - (BOOL)ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event methods in my layer.
My first guess was that the content size was probably too small since there wasn't anything in it, so I also put this in my init method:
CGSize size = [[CCDirector sharedDirector] winSize];
[self setContentSize:size];
I put a simple log function in the touchbegan to just output "touch began" but I never see the message showing up. Any ideas why?