Lessons and Playgrounds Code Snippets for Swift 3, Sprite Kit, and Xcode 8

Swift 3 Enum Types

Swift 3 Enum Types

These are formatted so you can copy the code straight into your Swift Playground files.

Enum Types also have some neat ways of being defined. For example…

The initial raw value could by any number. For example…

 

 

If you’re looking for places to learn after these Swift examples, check out CartoonSmart.com or SpriteKitLessons.com

Like the site? We also have FREE Swift & Sprite Kit video training in our new app!

Download it today