Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Swift Basics (retired) Control Flow While and Do-While Loop

Assistant Editor not working

Why is it when I click on assistant editor to see my output console is comes up blank?

Piotr Nejman
Piotr Nejman
3,374 Points

paste a code please

4 Answers

Martin Wildfeuer
PLUS
Martin Wildfeuer
Courses Plus Student 11,071 Points

Make sure you display the Debug area by clicking the button in the middle on the upper right.

Debug area

Then bring up the console by clicking the right button on the lower left

Console

Now you should see the console output in the right view at the bottom.

Does that help?

Richard McGrath
Richard McGrath
5,597 Points

I am having the same issue even after I followed your directions. I can see output in the Debug but the Assistant Editor console does not show any output.

//while

import UIKit

var todo : [String] = ["Return calls", "Write blog","Cook dinner","Pickup Laundry","Buy bulbs"]

var index = 0 while index < todo.count { print(todo[index]) index++ }

index = 0 repeat { print(todo[index]) index++ } while index < todo.count

this is what I want to see in my assitant editor so i can see the output console

//while

import UIKit

var todo : [String] = ["Return calls", "Write blog","Cook dinner","Pickup Laundry","Buy bulbs"]

var index = 0 while index < todo.count { print(todo[index]) index++ }

index = 0 repeat { print(todo[index]) index++ } while index < todo.count

this is what I want to see in my assitant editor so i can see the output console

Brian Patterson
Brian Patterson
19,588 Points

Had the same problem and chose Martin's solution. This worked!