Get playground to display all loop results

前端 未结 4 1398
我在风中等你
我在风中等你 2021-02-04 02:38

I\'m using an xcode 7 playground, and I want to know how to make the playground display all the results printed out by a loop.

for example:

This will te

4条回答
  •  野性不改
    2021-02-04 03:17

    Right click on the inline quick look (the gray rounded rectangle with "4" in it). There's an option to show all the results in a list:

    You can also show everything that's been printed to the console for the entire playground execution by clicking the show debug area button all the way in the bottom left corner:

提交回复
热议问题