visibleRect
The portion of the view that isn’t clipped by its superviews.
Declaration
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 affects this property.