scrollToVisible(_:)
Scrolls the view’s closest ancestor Nsclipview object the minimum distance needed so a specified region of the view becomes visible in the clip view.
Declaration
func scrollToVisible(_ rect: NSRect) -> BoolParameters
- rect:
The rectangle to be made visible in the clip view.
Discussion
true if any scrolling is performed; otherwise returns false.