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

# contentView

The view that contains descendant views to merge together when in proximity to each other.

## Declaration

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

## Discussion

Discussion The glass effect container view does the following: Elevates the z-order of descendants of contentView to position them above the contentView. Merges descendants together if the views are sufficiently similar and within the proximity specified in spacing. Processes similar glass effect views as a batch to improve performance.
