The Playground in Xcode automatically updates as you type, but I can\'t figure out how to get the Playground to \"re-compile\".
In many cases this wouldn\'t matter,
in Xcode 10, just use command(⌘) + shift(⬆︎) + Enter(↲)