Learn iOS SpriteKit with Examples, Code Snippets and Video Tutorials

Swift Basics – Part 4 – If Statements

Swift Basics – Part 4 – If Statements
October 15, 2014 Justin

This lesson we’ll look at if statements, if…else statements, bool variables, and how to create a variable in an if statement when an optional does not equal nil. The code taught in this lesson is pasted below…

Continue on to Part 5
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