Learn iOS SpriteKit with Examples, Code Snippets and Video Tutorials

Parsing a Property List using Swift

Parsing a Property List using Swift
October 11, 2014 Justin

Ran into a wee-bit of a challenge tonight with Xcode and parsing a property list with Swift. For reference, here’s the example property list I wanted to bring in…

Using Property List with Swift

Annnnnd, drum roll, here’s how to bring the property list into the app with Swift. You’ll end up storing the GameSettings dictionary as a constant named gameDict, then getting each property within.  Should be pretty self-explanatory….

 

 

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

4 Comments

  1. Sebastian 3 years ago

    Great little snippet! This helped a lot 🙂
    Just waiting for that tiled tutorial 🙂

Leave a reply

Check out our premium Swift and Sprite Kit Tutorial content!

Visit CartoonSmart.com