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 trialEva Malia
174 PointsI am writing var str = "Hello, Playground" and it doesn't show on the right column.
the commands I write don't reproduce to the right of the of the screen.
6 Answers
Dan K
10,689 PointsOn the top right corner of the Xcode window, there is a little symbol that looks like two circles. If you hover your cursor over it, it reads, "Show the Assistant Editor". Click on it. And then, on the left side of the Xcode window, click on the icon that looks like a play button next to your line of code. Then it will display the result of your code like it does in teacher's video. Code results do not automatically show by default when you first install Xcode. You have to manually configure your way so that it displays on your Xcode.
john lau
3,471 PointsI suggest you reinstall Xcode.
Eva Malia
174 PointsThanks, I did and it works now!
Saadoun Alerris
7,086 PointsIf it was your first time opening Xcode it'll take some time to load, give some time like a minute or two.
Eva Malia
174 PointsThanks Saadoun!
Wesley Turner
3,511 PointsI am also having this problem. Have reinstalled twice. In the top bar it does say "Launching Simulator" but it has been saying that for at least 30 minutes now with no change. Any suggestions?
Saadoun Alerris
7,086 Pointsscyborg Tokyo it's quite hidden just keep pressing run button above the debug area and the options will show up.
Natia Lollie
iOS Development with Swift Techdegree Student 177 PointsFor those using Xcode 10.2.1 whose results do not show on the right-hand side as in the video.. select:
The overlapping circles in the top right hand corner of xcode (an empty box should pop up)
Then select Live View (located right underneath the overlapping circles)
Then click the play button on the left-hand side of your code (indicated by the triangle inside the circle)
NOTE: Xcode should now print "Hello Playground" NOTE: Have not figured it out yet, but it appears you have to do this with each new file you create.
scyborg Tokyo
iOS Development with Swift Techdegree Student 167 Pointsscyborg Tokyo
iOS Development with Swift Techdegree Student 167 Points@dan k how can you manually configure so it displays without needing to press the play button. Do you think this issue would get resolved on reinstalling xcode