A proxy that facilitates message passing between the always-on live view and its corresponding playground page.
- Xcode 10.2+
- Swift Playgrounds 2.0+
- Playground Support
Because playground pages and the always-on live view run in separate processes, you use a
Playground as a wrapper for communicating with the always-on live view.
An instance of
Playground is automatically created when you've configured the always-on live view in a playground page's
Live file. It's assigned as the value of
Playground only when using always-on live view. Otherwise, that property is
nil or a local view.