How to reopen Console Output in a Swift Playground?

ericsoco picture ericsoco · Jun 18, 2014 · Viewed 27k times · Source

I was happily printlning to the Console Output in the Assistant Editor of a Swift/Xcode 6 Playground (see this SO thread for more info), until I decided to try clicking the [X] to close the Console Output.

How do I bring the Console Output back??

Answer

Nate Cook picture Nate Cook · Jun 18, 2014

This eluded me for a while, too. You want View menu -> Assistant Editor -> Show Assistant Editor.

Once you see the pane that holds the console output, if you still aren't seeing the right thing, make any change that will cause a println() to fire and the console output should appear.