I have been wondering what the actual proper way of connecting to your code nodes that you have added in the SpriteKit scene builder?
I know that you can do with with the following code…
var node = SKSpriteNode()
node = self.childNode(withName : “Whatever you named it in Scenebuilder”) as! SKSpriteNode
This works but it seems like it is not the correct way to reference nodes you have added in the scenebuilder…
Thanks for any input!