---
title: "PlaygroundLiveViewRepresentation.view(_:)"
framework: playgroundsupport
role: symbol
role_heading: Enumeration Case
path: playgroundsupport/playgroundliveviewrepresentation/view-ues
---

# PlaygroundLiveViewRepresentation.view(_:)

An AppKit view that's displayed as the live view.

## Declaration

```swift
case view(NSView)
```

## Discussion

Discussion This view must be the root of a view hierarchy (it must not have a superview), and it must not be owned by a view controller.

## See Also

### Displaying AppKit Views

- [PlaygroundLiveViewRepresentation.viewController(_:)](playgroundsupport/playgroundliveviewrepresentation/viewcontroller-uej.md)
