---
title: PlaygroundLiveViewable
framework: playgroundsupport
role: symbol
role_heading: Protocol
path: playgroundsupport/playgroundliveviewable
---

# PlaygroundLiveViewable

A protocol that displays an instance as a live view in a playground.

## Declaration

```swift
protocol PlaygroundLiveViewable
```

## Overview

Overview A playground that presents a simplified user interface programming environment, for example, can make its view-like type conform to PlaygroundLiveViewable and appear in the live view. By default, UIView and UIViewController conform to this protocol in iOS and tvOS, and NSView and NSViewController conform to this protocol in macOS. You only need to implement this protocol for custom objects that don't already inherit from UIView, UIViewController, NSView, or NSViewController.

## Topics

### Displaying Types

- [playgroundLiveViewRepresentation](playgroundsupport/playgroundliveviewable/1978828-playgroundliveviewrepresentation.md)

## Relationships

### Conforming Types

- [PlaygroundRemoteLiveViewProxy](playgroundsupport/playgroundremoteliveviewproxy.md)

## See Also

### Live Views

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