<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/visibleRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)visibleRect"
  },
  "title" : "visibleRect"
}
-->

# visibleRect

The portion of the view that isn’t clipped by its superviews.

```
var visibleRect: NSRect { get }
```

## Discussion

Visibility, as reflected by this property, doesn’t account for whether other view or window objects overlap the current view or whether the current view is installed in a window at all. This value of this property is `NSZeroRect` if the current view is effectively hidden.

During a printing operation the visible rectangle is further clipped to the page being imaged.

[`clipsToBounds`](/documentation/AppKit/NSView/clipsToBounds) affects this property.

## See Also

[`isHidden`](/documentation/AppKit/NSView/isHidden)

A Boolean value indicating whether the view is hidden.

[`documentVisibleRect`](/documentation/AppKit/NSScrollView/documentVisibleRect)

The portion of the document view, in its own coordinate system, visible through the scroll view’s content view.

[`documentVisibleRect`](/documentation/AppKit/NSClipView/documentVisibleRect)

The exposed rectangle of the clip view’s document view, in the document view’s own coordinate system.

[`isVisible`](/documentation/AppKit/NSWindow/isVisible)

A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows).



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)