---
title: contentView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsglasseffectview/contentview
---

# contentView

The view to embed in glass.

## Declaration

```swift
var contentView: NSView? { get set }
```

## Discussion

Discussion important: NSGlassEffectView only guarantees the contentView will be placed inside the glass effect; arbitrary subviews aren’t guaranteed specific behavior with regard to z-order in relation to the content view or glass effect.
