Printing each array item in Xcode Playground?

纵饮孤独 提交于 2020-01-16 04:27:08

问题


When looping through an array and printing each item in the Playground, the output is (x times). Where x is the count.

Rather than the count, is there a way to make the Playground output each item?


回答1:


In the Playground, go to menu

View > Debug Area > Show Debug Area

it will show the console where you'll be able to see the result of print.



来源:https://stackoverflow.com/questions/32804500/printing-each-array-item-in-xcode-playground

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!