Xcode 7 beta 4
I have a custom SpriteKit button class, which is derived from SKSpriteNode. I create a button in a scene by adding a SKSpriteNode and setting its custom class, then adding SKLabel as a child to display button text. My button class initialiser enables user interaction, thus allowing to catch mouse events. It works, when I click parts of the button which aren't covered with the label. But if I click the text on the label, event is lost.
I've checked the source code for DemoBots. There's a similar button class too: SKSpriteNode with custom class with text label as a child. It is too, loaded from the scene. But it works!
Can anybody explain me what's going on?
Any suggestions for workarounds which let me continue using the editor for designing buttons?