Learn iOS SpriteKit with Examples, Code Snippets and Video Tutorials

Create a Children’s Book App with Swift 2 – Extending Classes and creating an Element Class

Create a Children’s Book App with Swift 2 –  Extending Classes and creating an Element Class

In this Xcode 7 video tutorial you will learn how to create custom classes and subclasses in Swift 2. In particular we will create an Element class for the kit which is a subclass of SKSpriteNode. So when working with the Scene editor to layout out our sprites we will set their class to “Element” using the Custom Class Inspector (then we can create unlimited new properties and functions for our SKSpriteNodes!)

Check out our premium Swift and Sprite Kit Tutorial content!

Visit CartoonSmart.com