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 trialNicolo Figiani
4,012 Pointshow can you save and recall a piece of code in Xcode?
how can you save a piece of code in Xcode? and how you can recall it as you've done in the video?
Thanks, bye!
3 Answers
Greg Kaleka
39,021 PointsThere are a couple of ways you could do this. For one, you could simply copy and paste the text into a simple text file.
The second (this is what Pasan does in the video) is to use code snippets. NSHipster has a great tutorial on how to use code snippets.
Nicolo Figiani
4,012 PointsHi, the second point is precisely what I was referring to. Thanks for the link (:
Caleb Kleveter
Treehouse Moderator 37,862 PointsHi Y'all, What do you do for the snippet?