Playground Visual Edit Code – WWDC20 Scholarship

The Playground has two more interesting features.

One of them is an option to hide code but it’ll be executed. It only won’t be visible in the Playground, for example, info about imports.

import PlaygroundSupport

The second one allows editing variables, for example, color, some text or integer value of something.

view.backgroundColor = .red