Xcode 6 Beta / Swift - Playground not updating

前端 未结 4 1053
天涯浪人
天涯浪人 2021-02-13 06:12

I was playing around with the Playground feature of Xcode 6\'s first beta - and I notice half the time the Playground doesn\'t update (simply doesn\'t display the result calcula

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-13 06:55

    Make sure you haven't inadvertently added an error to your Playground code. Unfortunately, there is no inline notification of an error, and after an error is created, nothing in the Playground will update.

    To help with this, open up the Assistant Editor (File > View > Assistant Editor > Show Assistant Editor), which should include a Console Output box. If there are any errors in your Playground, they will show up there. Once corrected, your Playground should hopefully update once more.

    That said, it can be a bit slow depending on the complexity of your Playground and its size.

提交回复
热议问题