---
title: clientView
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsrulerview/clientview
---

# clientView

The receiver’s client view, if it has one.

## Declaration

```swift
weak var clientView: NSView? { get set }
```

## Discussion

Discussion aView is either the document view of the NSScrollView that contains the receiver or a subview of the document view.
