I can create an instance of SKSpriteNode class like this
let dog = SKSpriteNode(imageNamed: "Dog01")
However, how do I do this it if I want to create a custom class which inherits from SKSpriteNode?
E.g.
class Dog : SKSpriteNode {
}
It looks simple but I don't know how to.