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

How to print code alongside work board in Xcode

How do you get Xcode to print your code alongside the work board? Is there a setting I need to turn on?

Riley, I may have misunderstood. If you mean how do you get the results to show in the right-hand panel of a playground, then be aware I've found at times that results won't fill in past a point or don't refresh if there's an error.

To force the playground to rerun (and refresh the results) you can click the blue, right-pointing arrow in the bar at the bottom of the playground.

If you have print() statements in your code you can also see output in the console in the lower half of the window (and you can open it by clicking on the small up-arrow in the rectangle to the left of the blue arrow.

Hope this helps.