Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Image Selection

Hey guys, I have a pretty simple question. Well, I'm using sprite kit but the same functionality should be able to work whether i was or not. Here's my scenario, Im trying to pass a node to the next scene. A user has four nodes to choose from and depending on the one they select it will take them to the next screen. Would it be better for me to use NSUser Defaults to save it on disk. or should i some how assign each nodee an integer or something? but how would i implement these options? or maybe there's a better more efficient way.