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!
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

anthonypaulino2
2,068 PointsConsole output isnt working
I go to View>Assistant Editor>Show Assistant Editor and it opens up but nothing is showing up when i print something. Is there anyway I can fix this?
1 Answer

Ethan Lowry
Courses Plus Student 7,323 PointsAre you actually running the app to cause the print
to run?
anthonypaulino2
2,068 Pointsanthonypaulino2
2,068 PointsYes
anthonypaulino2
2,068 Pointsanthonypaulino2
2,068 PointsIt might just be my slow mac
Ethan Lowry
Courses Plus Student 7,323 PointsEthan Lowry
Courses Plus Student 7,323 PointsNote that the assistant editor isn't where print output appears, it goes in the console. This normally appears automatically when needed but take a look in your view menu in case it's been disabled somehow. It should normally be along the bottom of XCode.
anthonypaulino2
2,068 Pointsanthonypaulino2
2,068 PointsIsnt asistant editor the console? Its not showing for me still.
Ethan Lowry
Courses Plus Student 7,323 PointsEthan Lowry
Courses Plus Student 7,323 PointsThey're separate as far as I'm aware. Post your code also, though I assume it's not the problem here.
anthonypaulino2
2,068 Pointsanthonypaulino2
2,068 Pointsvar todo: [String] = ["Return calls","Write blog","Cook dinner","Pickup Laundry","Buy bulbs"]
var index = 0 while index < todo.count { println(todo[index]) index++ }
When i do this nothing is printed into the console. Not just this code, but all my other ones.