---
title: Playground Support
framework: Playground Support
role: collection
role_heading: Framework
platforms: [macOS 12.0+, swift playgrounds 2.0+]
path: playgroundsupport
---

# Playground Support

Share playground data, manage live views, and control the execution of a playground.

## Overview

Overview You use Playground Support from within playgrounds to:  Access a playground page and manage its execution Access and share persistent data Assess the progress of the learner, update hints, and show success text You also use Playground Support to display and dismiss live views, which show the results of running the code in a playground. You can create live views for your own types by leveraging the built-in live view representations available on many existing types. Traditional live views are available in playgrounds in Xcode and in Swift Playgrounds. They run in the same process as the code in the playground, so you can access their properties and methods as usual; however, they're reset each time you run the playground. The always-on live view in Swift Playgrounds, activated when you add LiveView.swift to a page, executes in its own process so you can persist information and visuals between successive runs. The always-on live view isn't reset until you leave the page.

## Topics

### Playground Pages

- [PlaygroundPage](playgroundsupport/playgroundpage.md)

### Live Views

- [PlaygroundLiveViewable](playgroundsupport/playgroundliveviewable.md)
- [PlaygroundLiveViewRepresentation](playgroundsupport/playgroundliveviewrepresentation.md)
- [PlaygroundLiveViewSafeAreaContainer](playgroundsupport/playgroundliveviewsafeareacontainer.md)

### Page-View Communication

- [Messaging Between a Playground Page and the Always-On Live View](playgroundsupport/messaging_between_a_playground_page_and_the_always-on_live_view.md)
- [PlaygroundRemoteLiveViewProxy](playgroundsupport/playgroundremoteliveviewproxy.md)
- [PlaygroundRemoteLiveViewProxyDelegate](playgroundsupport/playgroundremoteliveviewproxydelegate.md)
- [PlaygroundLiveViewMessageHandler](playgroundsupport/playgroundliveviewmessagehandler.md)

### Data Persistence

- [PlaygroundKeyValueStore](playgroundsupport/playgroundkeyvaluestore.md)
- [PlaygroundValue](playgroundsupport/playgroundvalue.md)
- [playgroundSharedDataDirectory](playgroundsupport/playgroundshareddatadirectory.md)
