Eih7atzipcni2byhgnc7
SkillsCast

How to Subclass a SKSpriteNode

18th August 2014 in London at Skills Matter

There are 4 other SkillsCasts available from Swift London | Talks

A popular way to learn Swift is to create a SpriteKit based project. This is the route I took. Sub-classing is at the heart of Object Orientated Programming and Swift being a OO language (amongst other types) supports this.

However, it is surprisingly hard to sub-class SKSpriteNode and retain use of its most convenient 'convenience initializer': (SKSpriteNode(imageNode)). This short talk explores this, and provides some workarounds.

Twitter @foobarber

Blog http://petebarber.blogspot.co.uk

YOU MAY ALSO LIKE:

How to Subclass a SKSpriteNode

SkillsCast

A popular way to learn Swift is to create a SpriteKit based project. This is the route I took. Sub-classing is at the heart of Object Orientated Programming and Swift being a OO language (amongst other types) supports this.

However, it is surprisingly hard to sub-class SKSpriteNode and retain use of its most convenient 'convenience initializer': (SKSpriteNode(imageNode)). This short talk explores this, and provides some workarounds.

Twitter @foobarber

Blog http://petebarber.blogspot.co.uk

YOU MAY ALSO LIKE:

About the Speaker

How to Subclass a SKSpriteNode