Learn iOS with Examples, Code Snippets and Video Tutorials

Free Swift iOS and tvOS Video Tutorial – Why Program Using Optionals in Swift

Free Swift iOS and tvOS Video Tutorial – Why Program Using Optionals in Swift
May 24, 2016 Justin

In this Swift video tutorial, we’ll discuss the how’s and why’s of programming optional variables in any of your iOS or tvOS apps or games. Optionals allow you to test if a variable is nil or not. We’ll go over testing for nil values, then safely forcing a value from an optional variable.

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

Your email address will not be published. Required fields are marked *


Check out our premium Swift and Sprite Kit Tutorial content!

Visit CartoonSmart.com