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

Ready for hundreds of hours of iOS and tvOS video tutorials, Starter Kits and a lot more Swift fun?

Visit CartoonSmart.com