Learn iOS SpriteKit with Examples, Code Snippets and Video Tutorials

Free Swift iOS and tvOS Tutorial – Casting with Swift and Sprite Kit

Free Swift iOS and tvOS Tutorial – Casting with Swift and Sprite Kit
May 13, 2016 Justin

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.

This video is from CartoonSmart’s Video Tutorial Podcast, so keep in mind, this is as much for fun as it is for education. But you’ll probably learn way more than you thought!

Subscribe to our Podcast through iTunes RSS feed / Full Show Archive

Free Tutorials!

Sign up for the newsletter to get a free CartoonSmart account and track your progress in every course.

I'm cool. Sign me up!

Justin Dike is the owner and lead developer at CartoonSmart.com. He's taught hundreds of hours of game development video tutorials, covering everything from coding to art. These days he's working mostly on Swift and Sprite Kit tutorials, which often lead into highly polished iOS / tvOS Starter Kits, which require no programming at all, but are capable of making nearly any type game! Yeah, you read that write. You can also find Justin at the official CartoonSmart Podcast


Leave a reply

Check out our premium Swift and Sprite Kit Tutorial content!

Visit CartoonSmart.com