如何在Swift Playground中重新打开控制台输出? [英] How to reopen Console Output in a Swift Playground?

查看:850
本文介绍了如何在Swift Playground中重新打开控制台输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很高兴地在Swift / Xcode 6 Playground的助理编辑器中的 println 到控制台输出(参见这个SO线程的更多信息),直到我决定尝试单击[X]关闭控制台输出。

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

推荐答案

这也让我一会儿。您需要查看菜单 - > 助理编辑器 - > 显示助理编辑器

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

一旦你看到控制台输出的窗格,如果你仍然没有看到正确的事情,做任何更改,将导致 println()启动和控制台输出应出现。

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.

这篇关于如何在Swift Playground中重新打开控制台输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆