Everything is in the title; I want to programmatically scroll an NSScrollView to the right so I can see the end of my document.
NSScrollView
I tried this :
Try
let toRight = CGRect(x: width, y: 0, width: 0, height: height) scrollView.scrollRectToVisible(toRight)
I finally got it to work by scrolling the content view :
scrollView.contentView.scrollPoint(NSPoint(width, 0))