Casting with Swift and Sprite Kit (Download the Video Tutorial Podcast Episode 1)
Learn how to cast a child in your Sprite Kit scene as a declared variable in your GameScene.swift file. We’ll pick on an SKLabelNode but casting works the same whether its an SKSpriteNode or other type class that you could layout in Xcode’s Scene Editor. This is an important video for anyone new to Sprite Kit and trying to figure out how to program the connection between your scene based objects and your Swift code.
Find more iOS and tvOS video tutorials at CartoonSmart.com.
Hosts: Justin Dike, Clevon O’Doul